@Generated(value="software.amazon.awssdk:codegen") public final class SetStackPolicyRequest extends CloudFormationRequest implements ToCopyableBuilder<SetStackPolicyRequest.Builder,SetStackPolicyRequest>
The input for the SetStackPolicy action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SetStackPolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SetStackPolicyRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SetStackPolicyRequest.Builder> |
serializableBuilderClass() |
String |
stackName()
The name or unique stack ID that you want to associate a policy with.
|
String |
stackPolicyBody()
Structure containing the stack policy body.
|
String |
stackPolicyURL()
Location of a file containing the stack policy.
|
SetStackPolicyRequest.Builder |
toBuilder() |
String |
toString() |
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String stackName()
The name or unique stack ID that you want to associate a policy with.
public String stackPolicyBody()
Structure containing the stack policy body. For more information, go to Prevent
Updates to Stack Resources in the AWS CloudFormation User Guide. You can specify either the
StackPolicyBody or the StackPolicyURL parameter, but not both.
StackPolicyBody or the StackPolicyURL parameter, but not both.public String stackPolicyURL()
Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in
an S3 bucket in the same region as the stack. You can specify either the StackPolicyBody or the
StackPolicyURL parameter, but not both.
StackPolicyBody or the StackPolicyURL parameter, but not both.public SetStackPolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SetStackPolicyRequest.Builder,SetStackPolicyRequest>toBuilder in class CloudFormationRequestpublic static SetStackPolicyRequest.Builder builder()
public static Class<? extends SetStackPolicyRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2018. All rights reserved.