Class DeploymentPolicies
- java.lang.Object
-
- software.amazon.awssdk.services.greengrassv2.model.DeploymentPolicies
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeploymentPolicies.Builder,DeploymentPolicies>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeploymentPolicies.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeploymentPolicies.Builderbuilder()DeploymentComponentUpdatePolicycomponentUpdatePolicy()The component update policy for the configuration deployment.DeploymentConfigurationValidationPolicyconfigurationValidationPolicy()The configuration validation policy for the configuration deployment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)DeploymentFailureHandlingPolicyfailureHandlingPolicy()The failure handling policy for the configuration deployment.StringfailureHandlingPolicyAsString()The failure handling policy for the configuration deployment.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DeploymentPolicies.Builder>serializableBuilderClass()DeploymentPolicies.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
-
failureHandlingPolicy
public final DeploymentFailureHandlingPolicy failureHandlingPolicy()
The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.
Default:
ROLLBACKIf the service returns an enum value that is not available in the current SDK version,
failureHandlingPolicywill returnDeploymentFailureHandlingPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureHandlingPolicyAsString().- Returns:
- The failure handling policy for the configuration deployment. This policy defines what to do if the
deployment fails.
Default:
ROLLBACK - See Also:
DeploymentFailureHandlingPolicy
-
failureHandlingPolicyAsString
public final String failureHandlingPolicyAsString()
The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.
Default:
ROLLBACKIf the service returns an enum value that is not available in the current SDK version,
failureHandlingPolicywill returnDeploymentFailureHandlingPolicy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureHandlingPolicyAsString().- Returns:
- The failure handling policy for the configuration deployment. This policy defines what to do if the
deployment fails.
Default:
ROLLBACK - See Also:
DeploymentFailureHandlingPolicy
-
componentUpdatePolicy
public final DeploymentComponentUpdatePolicy componentUpdatePolicy()
The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.
- Returns:
- The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.
-
configurationValidationPolicy
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.
- Returns:
- The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates.
-
toBuilder
public DeploymentPolicies.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeploymentPolicies.Builder,DeploymentPolicies>
-
builder
public static DeploymentPolicies.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeploymentPolicies.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.
-
-