package org.springframework.cloud.client.serviceregistry;

import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.Getter;
import lombok.Setter;

/**
 * @author Spencer Gibb
 */
@ConfigurationProperties("spring.cloud.service-registry.auto-registration")
@Getter
@Setter
public class AutoServiceRegistrationProperties {

	/** If Auto-Service Registration is enabled, default to true. */
	private boolean enabled = true;

	/** Whether to register the management as a service, defaults to true */
	private boolean registerManagement = true;

	/** Should startup fail if there is no AutoServiceRegistration, default to false. */
	private boolean failFast = false;

}

@@ -133,53 +133,8 @@
 s;%0A%0A
-import lombok.Getter;%0Aimport lombok.Setter;%0A%0A
 /**%0A
@@ -241,24 +241,8 @@
 n%22)%0A
-@Getter%0A@Setter%0A
 publ
@@ -511,127 +511,452 @@
 ;%0A%0A%09
-/** Should startup fail if there is no AutoServiceRegistration, default to false. */%0A%09private boolean failFast = false;%0A
+public boolean shouldRegisterManagement() %7B%0A%09%09return registerManagement;%0A%09%7D%0A%0A%09public void setRegisterManagement(boolean registerManagement) %7B%0A%09%09this.registerManagement = registerManagement;%0A%09%7D%0A%0A%09/** Should startup fail if there is no AutoServiceRegistration, default to false. */%0A%09private boolean failFast = false;%0A%0A%09public boolean isFailFast() %7B%0A%09%09return failFast;%0A%09%7D%0A%0A%09public void setFailFast(boolean failFast) %7B%0A%09%09this.failFast = failFast;%0A%09%7D
 %0A%7D%0A

Switch back from Lombok to plain getters and setters in AutoServiceRegistrationProperties