Class StopAutomationExecutionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ssm.model.SsmRequest
-
- software.amazon.awssdk.services.ssm.model.StopAutomationExecutionRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<StopAutomationExecutionRequest.Builder,StopAutomationExecutionRequest>
@Generated("software.amazon.awssdk:codegen") public final class StopAutomationExecutionRequest extends SsmRequest implements ToCopyableBuilder<StopAutomationExecutionRequest.Builder,StopAutomationExecutionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
StopAutomationExecutionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
automationExecutionId()
The execution ID of the Automation to stop.static StopAutomationExecutionRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends StopAutomationExecutionRequest.Builder>
serializableBuilderClass()
StopAutomationExecutionRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.StopType
type()
The stop request type.String
typeAsString()
The stop request type.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
automationExecutionId
public final String automationExecutionId()
The execution ID of the Automation to stop.
- Returns:
- The execution ID of the Automation to stop.
-
type
public final StopType type()
The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.
If the service returns an enum value that is not available in the current SDK version,
type
will returnStopType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.
- See Also:
StopType
-
typeAsString
public final String typeAsString()
The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.
If the service returns an enum value that is not available in the current SDK version,
type
will returnStopType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.
- See Also:
StopType
-
toBuilder
public StopAutomationExecutionRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<StopAutomationExecutionRequest.Builder,StopAutomationExecutionRequest>
- Specified by:
toBuilder
in classSsmRequest
-
builder
public static StopAutomationExecutionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StopAutomationExecutionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-