@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails extends Object implements Serializable, Cloneable, StructuredPojo
Determines whether a service deployment fails if a service cannot reach a steady state.
Constructor and Description |
---|
AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnable()
Whether to enable the deployment circuit breaker logic for the service.
|
Boolean |
getRollback()
Whether to roll back the service if a service deployment fails.
|
int |
hashCode() |
Boolean |
isEnable()
Whether to enable the deployment circuit breaker logic for the service.
|
Boolean |
isRollback()
Whether to roll back the service if a service deployment fails.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnable(Boolean enable)
Whether to enable the deployment circuit breaker logic for the service.
|
void |
setRollback(Boolean rollback)
Whether to roll back the service if a service deployment fails.
|
String |
toString()
Returns a string representation of this object.
|
AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails |
withEnable(Boolean enable)
Whether to enable the deployment circuit breaker logic for the service.
|
AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails |
withRollback(Boolean rollback)
Whether to roll back the service if a service deployment fails.
|
public AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails()
public void setEnable(Boolean enable)
Whether to enable the deployment circuit breaker logic for the service.
enable
- Whether to enable the deployment circuit breaker logic for the service.public Boolean getEnable()
Whether to enable the deployment circuit breaker logic for the service.
public AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails withEnable(Boolean enable)
Whether to enable the deployment circuit breaker logic for the service.
enable
- Whether to enable the deployment circuit breaker logic for the service.public Boolean isEnable()
Whether to enable the deployment circuit breaker logic for the service.
public void setRollback(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.
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.public Boolean getRollback()
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.
public AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails withRollback(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.
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.public Boolean isRollback()
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.
public String toString()
toString
in class Object
Object.toString()
public AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.