Class SignalResourceRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.cloudformation.model.CloudFormationRequest
-
- software.amazon.awssdk.services.cloudformation.model.SignalResourceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<SignalResourceRequest.Builder,SignalResourceRequest>
@Generated("software.amazon.awssdk:codegen") public final class SignalResourceRequest extends CloudFormationRequest implements ToCopyableBuilder<SignalResourceRequest.Builder,SignalResourceRequest>
The input for the SignalResource action.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSignalResourceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SignalResourceRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlogicalResourceId()The logical ID of the resource that you want to signal.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SignalResourceRequest.Builder>serializableBuilderClass()StringstackName()The stack name or unique stack ID that includes the resource that you want to signal.ResourceSignalStatusstatus()The status of the signal, which is either success or failure.StringstatusAsString()The status of the signal, which is either success or failure.SignalResourceRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuniqueId()A unique ID of the signal.-
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
-
stackName
public final String stackName()
The stack name or unique stack ID that includes the resource that you want to signal.
- Returns:
- The stack name or unique stack ID that includes the resource that you want to signal.
-
logicalResourceId
public final String logicalResourceId()
The logical ID of the resource that you want to signal. The logical ID is the name of the resource that given in the template.
- Returns:
- The logical ID of the resource that you want to signal. The logical ID is the name of the resource that given in the template.
-
uniqueId
public final String uniqueId()
A unique ID of the signal. When you signal Amazon EC2 instances or Amazon EC2 Auto Scaling groups, specify the instance ID that you are signaling as the unique ID. If you send multiple signals to a single resource (such as signaling a wait condition), each signal requires a different unique ID.
- Returns:
- A unique ID of the signal. When you signal Amazon EC2 instances or Amazon EC2 Auto Scaling groups, specify the instance ID that you are signaling as the unique ID. If you send multiple signals to a single resource (such as signaling a wait condition), each signal requires a different unique ID.
-
status
public final ResourceSignalStatus status()
The status of the signal, which is either success or failure. A failure signal causes CloudFormation to immediately fail the stack creation or update.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnResourceSignalStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the signal, which is either success or failure. A failure signal causes CloudFormation to immediately fail the stack creation or update.
- See Also:
ResourceSignalStatus
-
statusAsString
public final String statusAsString()
The status of the signal, which is either success or failure. A failure signal causes CloudFormation to immediately fail the stack creation or update.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnResourceSignalStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the signal, which is either success or failure. A failure signal causes CloudFormation to immediately fail the stack creation or update.
- See Also:
ResourceSignalStatus
-
toBuilder
public SignalResourceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SignalResourceRequest.Builder,SignalResourceRequest>- Specified by:
toBuilderin classCloudFormationRequest
-
builder
public static SignalResourceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends SignalResourceRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-