Cloneable
, ReadLimitInfo
, ToCopyableBuilder<SetStackPolicyRequest.Builder,SetStackPolicyRequest>
@Generated("software.amazon.awssdk:codegen") public class SetStackPolicyRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<SetStackPolicyRequest.Builder,SetStackPolicyRequest>
The input for the SetStackPolicy action.
Modifier and Type | Class | Description |
---|---|---|
static interface |
SetStackPolicyRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static SetStackPolicyRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
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() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SetStackPolicyRequest.Builder,SetStackPolicyRequest>
public static SetStackPolicyRequest.Builder builder()
public static Class<? extends SetStackPolicyRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.