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 interface
SignalResourceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SignalResourceRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
logicalResourceId()
The logical ID of the resource that you want to signal.List<SdkField<?>>
sdkFields()
static Class<? extends SignalResourceRequest.Builder>
serializableBuilderClass()
String
stackName()
The stack name or unique stack ID that includes the resource that you want to signal.ResourceSignalStatus
status()
The status of the signal, which is either success or failure.String
statusAsString()
The status of the signal, which is either success or failure.SignalResourceRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
uniqueId()
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 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 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,
status
will 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,
status
will 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:
toBuilder
in interfaceToCopyableBuilder<SignalResourceRequest.Builder,SignalResourceRequest>
- Specified by:
toBuilder
in classCloudFormationRequest
-
builder
public static SignalResourceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends SignalResourceRequest.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
-
-