@Generated(value="software.amazon.awssdk:codegen") public final class DeploymentPolicies extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeploymentPolicies.Builder,DeploymentPolicies>
Contains information about policies that define how a deployment updates components and handles failure.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeploymentPolicies.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeploymentPolicies.Builder |
builder() |
DeploymentComponentUpdatePolicy |
componentUpdatePolicy()
The component update policy for the configuration deployment.
|
DeploymentConfigurationValidationPolicy |
configurationValidationPolicy()
The configuration validation policy for the configuration deployment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
DeploymentFailureHandlingPolicy |
failureHandlingPolicy()
The failure handling policy for the configuration deployment.
|
String |
failureHandlingPolicyAsString()
The failure handling policy for the configuration deployment.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeploymentPolicies.Builder> |
serializableBuilderClass() |
DeploymentPolicies.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DeploymentFailureHandlingPolicy failureHandlingPolicy()
The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.
Default: ROLLBACK
If the service returns an enum value that is not available in the current SDK version,
failureHandlingPolicy will return DeploymentFailureHandlingPolicy.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from failureHandlingPolicyAsString().
Default: ROLLBACK
DeploymentFailureHandlingPolicypublic final String failureHandlingPolicyAsString()
The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.
Default: ROLLBACK
If the service returns an enum value that is not available in the current SDK version,
failureHandlingPolicy will return DeploymentFailureHandlingPolicy.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from failureHandlingPolicyAsString().
Default: ROLLBACK
DeploymentFailureHandlingPolicypublic final DeploymentComponentUpdatePolicy componentUpdatePolicy()
The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.
public final DeploymentConfigurationValidationPolicy configurationValidationPolicy()
The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates.
public DeploymentPolicies.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeploymentPolicies.Builder,DeploymentPolicies>public static DeploymentPolicies.Builder builder()
public static Class<? extends DeploymentPolicies.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.