Class SetStackPolicyRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<SetStackPolicyRequest.Builder,SetStackPolicyRequest>
The input for the SetStackPolicy action.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends SetStackPolicyRequest.Builder>final StringThe name or unique stack ID that you want to associate a policy with.final StringStructure that contains the stack policy body.final StringLocation of a file that contains the stack policy.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
-
stackName
The name or unique stack ID that you want to associate a policy with.
- Returns:
- The name or unique stack ID that you want to associate a policy with.
-
stackPolicyBody
Structure that contains the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either the
StackPolicyBodyor theStackPolicyURLparameter, but not both.- Returns:
- Structure that contains the stack policy body. For more information, see Prevent updates to stack resources in the CloudFormation User Guide. You can specify either
the
StackPolicyBodyor theStackPolicyURLparameter, but not both.
-
stackPolicyURL
Location of a file that contains the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an Amazon S3 bucket in the same Amazon Web Services Region as the stack. The location for an Amazon S3 bucket must start with
https://. URLs from S3 static websites are not supported.You can specify either the
StackPolicyBodyor theStackPolicyURLparameter, but not both.- Returns:
- Location of a file that contains the stack policy. The URL must point to a policy (maximum size: 16 KB)
located in an Amazon S3 bucket in the same Amazon Web Services Region as the stack. The location for an
Amazon S3 bucket must start with
https://. URLs from S3 static websites are not supported.You can specify either the
StackPolicyBodyor theStackPolicyURLparameter, but not both.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<SetStackPolicyRequest.Builder,SetStackPolicyRequest> - 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
-