package org.springframework.cloud.client.serviceregistry;

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

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

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

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

	public boolean isFailFast() {
		return failFast;
	}

	public void setFailFast(boolean failFast) {
		this.failFast = failFast;
	}
}

@@ -129,16 +129,61 @@
 rties;%0A%0A
+import lombok.Getter;%0Aimport lombok.Setter;%0A%0A
 /**%0A * @
@@ -282,16 +282,32 @@
 ation%22)%0A
+@Getter%0A@Setter%0A
 public c
@@ -448,16 +448,135 @@
  true;%0A%0A
+%09/** Whether to register the management as a service, defaults to true */%0A%09private boolean registerManagement = true;%0A%0A
 %09/** Sho
@@ -693,136 +693,6 @@
 e;%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

Add option to control management registration, switch AutoServiceRegistrationProperties to use Lombok