Class DeploymentLifecycleHookTimeoutConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeploymentLifecycleHookTimeoutConfiguration.Builder,DeploymentLifecycleHookTimeoutConfiguration>
The timeout configuration for a deployment lifecycle hook. This determines how long Amazon ECS waits for the hook to complete before taking the specified timeout action.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionaction()The action Amazon ECS takes when the lifecycle hook times out.final StringThe action Amazon ECS takes when the lifecycle hook times out.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends DeploymentLifecycleHookTimeoutConfiguration.Builder>final IntegerThe number of minutes Amazon ECS waits for the lifecycle hook to complete before taking the timeout action.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
timeoutInMinutes
The number of minutes Amazon ECS waits for the lifecycle hook to complete before taking the timeout action.
Default: 1440 (24 hours)
- Returns:
- The number of minutes Amazon ECS waits for the lifecycle hook to complete before taking the timeout
action.
Default: 1440 (24 hours)
-
action
The action Amazon ECS takes when the lifecycle hook times out. Valid values are:
-
CONTINUE- Proceeds the deployment to the next lifecycle stage. -
ROLLBACK- Rolls back the deployment to the previous service revision.
Default:
ROLLBACKIf the service returns an enum value that is not available in the current SDK version,
actionwill returnDeploymentLifecycleHookAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The action Amazon ECS takes when the lifecycle hook times out. Valid values are:
-
CONTINUE- Proceeds the deployment to the next lifecycle stage. -
ROLLBACK- Rolls back the deployment to the previous service revision.
Default:
ROLLBACK -
- See Also:
-
-
actionAsString
The action Amazon ECS takes when the lifecycle hook times out. Valid values are:
-
CONTINUE- Proceeds the deployment to the next lifecycle stage. -
ROLLBACK- Rolls back the deployment to the previous service revision.
Default:
ROLLBACKIf the service returns an enum value that is not available in the current SDK version,
actionwill returnDeploymentLifecycleHookAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The action Amazon ECS takes when the lifecycle hook times out. Valid values are:
-
CONTINUE- Proceeds the deployment to the next lifecycle stage. -
ROLLBACK- Rolls back the deployment to the previous service revision.
Default:
ROLLBACK -
- See Also:
-
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeploymentLifecycleHookTimeoutConfiguration.Builder,DeploymentLifecycleHookTimeoutConfiguration>
-
builder
-
serializableBuilderClass
public static Class<? extends DeploymentLifecycleHookTimeoutConfiguration.Builder> serializableBuilderClass() -
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-