@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeploymentPolicies extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about policies that define how a deployment updates components and handles failure.
Constructor and Description |
---|
DeploymentPolicies() |
Modifier and Type | Method and Description |
---|---|
DeploymentPolicies |
clone() |
boolean |
equals(Object obj) |
DeploymentComponentUpdatePolicy |
getComponentUpdatePolicy()
The component update policy for the configuration deployment.
|
DeploymentConfigurationValidationPolicy |
getConfigurationValidationPolicy()
The configuration validation policy for the configuration deployment.
|
String |
getFailureHandlingPolicy()
The failure handling policy for the configuration deployment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComponentUpdatePolicy(DeploymentComponentUpdatePolicy componentUpdatePolicy)
The component update policy for the configuration deployment.
|
void |
setConfigurationValidationPolicy(DeploymentConfigurationValidationPolicy configurationValidationPolicy)
The configuration validation policy for the configuration deployment.
|
void |
setFailureHandlingPolicy(String failureHandlingPolicy)
The failure handling policy for the configuration deployment.
|
String |
toString()
Returns a string representation of this object.
|
DeploymentPolicies |
withComponentUpdatePolicy(DeploymentComponentUpdatePolicy componentUpdatePolicy)
The component update policy for the configuration deployment.
|
DeploymentPolicies |
withConfigurationValidationPolicy(DeploymentConfigurationValidationPolicy configurationValidationPolicy)
The configuration validation policy for the configuration deployment.
|
DeploymentPolicies |
withFailureHandlingPolicy(DeploymentFailureHandlingPolicy failureHandlingPolicy)
The failure handling policy for the configuration deployment.
|
DeploymentPolicies |
withFailureHandlingPolicy(String failureHandlingPolicy)
The failure handling policy for the configuration deployment.
|
public void setFailureHandlingPolicy(String failureHandlingPolicy)
The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.
Default: ROLLBACK
failureHandlingPolicy
- The failure handling policy for the configuration deployment. This policy defines what to do if the
deployment fails.
Default: ROLLBACK
DeploymentFailureHandlingPolicy
public String getFailureHandlingPolicy()
The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.
Default: ROLLBACK
Default: ROLLBACK
DeploymentFailureHandlingPolicy
public DeploymentPolicies withFailureHandlingPolicy(String failureHandlingPolicy)
The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.
Default: ROLLBACK
failureHandlingPolicy
- The failure handling policy for the configuration deployment. This policy defines what to do if the
deployment fails.
Default: ROLLBACK
DeploymentFailureHandlingPolicy
public DeploymentPolicies withFailureHandlingPolicy(DeploymentFailureHandlingPolicy failureHandlingPolicy)
The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.
Default: ROLLBACK
failureHandlingPolicy
- The failure handling policy for the configuration deployment. This policy defines what to do if the
deployment fails.
Default: ROLLBACK
DeploymentFailureHandlingPolicy
public void setComponentUpdatePolicy(DeploymentComponentUpdatePolicy componentUpdatePolicy)
The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.
componentUpdatePolicy
- The component update policy for the configuration deployment. This policy defines when it's safe to deploy
the configuration to devices.public DeploymentComponentUpdatePolicy getComponentUpdatePolicy()
The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.
public DeploymentPolicies withComponentUpdatePolicy(DeploymentComponentUpdatePolicy componentUpdatePolicy)
The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.
componentUpdatePolicy
- The component update policy for the configuration deployment. This policy defines when it's safe to deploy
the configuration to devices.public void setConfigurationValidationPolicy(DeploymentConfigurationValidationPolicy configurationValidationPolicy)
The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates.
configurationValidationPolicy
- The configuration validation policy for the configuration deployment. This policy defines how long each
component has to validate its configure updates.public DeploymentConfigurationValidationPolicy getConfigurationValidationPolicy()
The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates.
public DeploymentPolicies withConfigurationValidationPolicy(DeploymentConfigurationValidationPolicy configurationValidationPolicy)
The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates.
configurationValidationPolicy
- The configuration validation policy for the configuration deployment. This policy defines how long each
component has to validate its configure updates.public String toString()
toString
in class Object
Object.toString()
public DeploymentPolicies clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.