@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetStackPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the SetStackPolicy action.
NOOP
Constructor and Description |
---|
SetStackPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
SetStackPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getStackName()
The name or unique stack ID that you want to associate a policy with.
|
String |
getStackPolicyBody()
Structure containing the stack policy body.
|
String |
getStackPolicyURL()
Location of a file containing the stack policy.
|
int |
hashCode() |
void |
setStackName(String stackName)
The name or unique stack ID that you want to associate a policy with.
|
void |
setStackPolicyBody(String stackPolicyBody)
Structure containing the stack policy body.
|
void |
setStackPolicyURL(String stackPolicyURL)
Location of a file containing the stack policy.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SetStackPolicyRequest |
withStackName(String stackName)
The name or unique stack ID that you want to associate a policy with.
|
SetStackPolicyRequest |
withStackPolicyBody(String stackPolicyBody)
Structure containing the stack policy body.
|
SetStackPolicyRequest |
withStackPolicyURL(String stackPolicyURL)
Location of a file containing the stack policy.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStackName(String stackName)
The name or unique stack ID that you want to associate a policy with.
stackName
- The name or unique stack ID that you want to associate a policy with.public String getStackName()
The name or unique stack ID that you want to associate a policy with.
public SetStackPolicyRequest withStackName(String stackName)
The name or unique stack ID that you want to associate a policy with.
stackName
- The name or unique stack ID that you want to associate a policy with.public void setStackPolicyBody(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
- 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.public String getStackPolicyBody()
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 SetStackPolicyRequest withStackPolicyBody(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
- 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.public void setStackPolicyURL(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.
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.public String getStackPolicyURL()
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 withStackPolicyURL(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.
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.public String toString()
toString
in class Object
Object.toString()
public SetStackPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.