Class ContinueServiceDeploymentRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ContinueServiceDeploymentRequest.Builder,ContinueServiceDeploymentRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionaction()The action to take on the paused lifecycle hook.final StringThe action to take on the paused lifecycle hook.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringhookId()The ID of the paused lifecycle hook to act on.static Class<? extends ContinueServiceDeploymentRequest.Builder>final StringThe ARN of the service deployment to continue or roll back.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods 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
-
serviceDeploymentArn
The ARN of the service deployment to continue or roll back.
- Returns:
- The ARN of the service deployment to continue or roll back.
-
hookId
The ID of the paused lifecycle hook to act on. You can find the
hookIdby calling DescribeServiceDeployments and inspecting thelifecycleHookDetailsfield of the service deployment.- Returns:
- The ID of the paused lifecycle hook to act on. You can find the
hookIdby calling DescribeServiceDeployments and inspecting thelifecycleHookDetailsfield of the service deployment.
-
action
The action to take on the paused lifecycle hook. Valid values are:
-
CONTINUE- Proceeds the deployment to the next lifecycle stage. -
ROLLBACK- Rolls back the deployment to the previous service revision.
If no value is specified, the default action is
CONTINUE.If 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 to take on the paused lifecycle hook. Valid values are:
-
CONTINUE- Proceeds the deployment to the next lifecycle stage. -
ROLLBACK- Rolls back the deployment to the previous service revision.
If no value is specified, the default action is
CONTINUE. -
- See Also:
-
-
actionAsString
The action to take on the paused lifecycle hook. Valid values are:
-
CONTINUE- Proceeds the deployment to the next lifecycle stage. -
ROLLBACK- Rolls back the deployment to the previous service revision.
If no value is specified, the default action is
CONTINUE.If 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 to take on the paused lifecycle hook. Valid values are:
-
CONTINUE- Proceeds the deployment to the next lifecycle stage. -
ROLLBACK- Rolls back the deployment to the previous service revision.
If no value is specified, the default action is
CONTINUE. -
- See Also:
-
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ContinueServiceDeploymentRequest.Builder,ContinueServiceDeploymentRequest> - Specified by:
toBuilderin classEcsRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
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
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-