Class AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails.Builder,AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails.Builder,AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails>
Determines whether a service deployment fails if a service cannot reach a steady state.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails.Builderbuilder()Booleanenable()Whether to enable the deployment circuit breaker logic for the service.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Booleanrollback()Whether to roll back the service if a service deployment fails.List<SdkField<?>>sdkFields()static Class<? extends AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails.Builder>serializableBuilderClass()AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
enable
public final Boolean enable()
Whether to enable the deployment circuit breaker logic for the service.
- Returns:
- Whether to enable the deployment circuit breaker logic for the service.
-
rollback
public final Boolean rollback()
Whether to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.
- Returns:
- Whether to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.
-
toBuilder
public AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails.Builder toBuilder()
-
builder
public static AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-