Class CancelUpdateStackRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CancelUpdateStackRequest.Builder,CancelUpdateStackRequest>
The input for the CancelUpdateStack action.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringA unique identifier for thisCancelUpdateStackrequest.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends CancelUpdateStackRequest.Builder>final Stringfinal 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
-
stackName
If you don't pass a parameter to
StackName, the API returns a response that describes all resources in the account.The IAM policy below can be added to IAM policies when you want to limit resource-level permissions and avoid returning a response when no parameter is sent in the request:
{ "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", "Action": "cloudformation:DescribeStacks", "NotResource": "arn:aws:cloudformation:*:*:stack/*/*" }] }The name or the unique stack ID that's associated with the stack.
- Returns:
If you don't pass a parameter to
StackName, the API returns a response that describes all resources in the account.The IAM policy below can be added to IAM policies when you want to limit resource-level permissions and avoid returning a response when no parameter is sent in the request:
{ "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", "Action": "cloudformation:DescribeStacks", "NotResource": "arn:aws:cloudformation:*:*:stack/*/*" }] }The name or the unique stack ID that's associated with the stack.
-
clientRequestToken
A unique identifier for this
CancelUpdateStackrequest. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to cancel an update on a stack with the same name. You might retryCancelUpdateStackrequests to ensure that CloudFormation successfully received them.- Returns:
- A unique identifier for this
CancelUpdateStackrequest. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to cancel an update on a stack with the same name. You might retryCancelUpdateStackrequests to ensure that CloudFormation successfully received them.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CancelUpdateStackRequest.Builder,CancelUpdateStackRequest> - Specified by:
toBuilderin classCloudFormationRequest
-
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
-