com.amazonaws.services.cloudformation.model
Class UpdateStackRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.cloudformation.model.UpdateStackRequest
All Implemented Interfaces:
Serializable

public class UpdateStackRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the UpdateStack operation.

Updates a stack as specified in the template. After the call completes successfully, the stack update starts. You can check the status of the stack via the DescribeStacks action.

To get a copy of the template for an existing stack, you can use the GetTemplate action.

Tags that were associated with this stack during creation time will still be associated with the stack after an UpdateStack operation.

For more information about creating an update template, updating a stack, and monitoring the progress of the update, see Updating a Stack .

See Also:
AmazonCloudFormation.updateStack(UpdateStackRequest), Serialized Form

Constructor Summary
UpdateStackRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getCapabilities()
          The list of capabilities that you want to allow in the stack.
 List<String> getNotificationARNs()
          Update the ARNs for the Amazon SNS topics that are associated with the stack.
 List<Parameter> getParameters()
          A list of Parameter structures that specify input parameters for the stack.
 String getStackName()
          The name or stack ID of the stack to update.
 String getStackPolicyBody()
          Structure containing a new stack policy body.
 String getStackPolicyDuringUpdateBody()
          Structure containing the temporary overriding stack policy body.
 String getStackPolicyDuringUpdateURL()
          Location of a file containing the temporary overriding stack policy.
 String getStackPolicyURL()
          Location of a file containing the updated stack policy.
 String getTemplateBody()
          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
 String getTemplateURL()
          Location of file containing the template body.
 Boolean getUsePreviousTemplate()
          Reuse the existing template that is associated with the stack that you are updating.
 int hashCode()
           
 Boolean isUsePreviousTemplate()
          Reuse the existing template that is associated with the stack that you are updating.
 void setCapabilities(Collection<String> capabilities)
          The list of capabilities that you want to allow in the stack.
 void setNotificationARNs(Collection<String> notificationARNs)
          Update the ARNs for the Amazon SNS topics that are associated with the stack.
 void setParameters(Collection<Parameter> parameters)
          A list of Parameter structures that specify input parameters for the stack.
 void setStackName(String stackName)
          The name or stack ID of the stack to update.
 void setStackPolicyBody(String stackPolicyBody)
          Structure containing a new stack policy body.
 void setStackPolicyDuringUpdateBody(String stackPolicyDuringUpdateBody)
          Structure containing the temporary overriding stack policy body.
 void setStackPolicyDuringUpdateURL(String stackPolicyDuringUpdateURL)
          Location of a file containing the temporary overriding stack policy.
 void setStackPolicyURL(String stackPolicyURL)
          Location of a file containing the updated stack policy.
 void setTemplateBody(String templateBody)
          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
 void setTemplateURL(String templateURL)
          Location of file containing the template body.
 void setUsePreviousTemplate(Boolean usePreviousTemplate)
          Reuse the existing template that is associated with the stack that you are updating.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 UpdateStackRequest withCapabilities(Capability... capabilities)
          The list of capabilities that you want to allow in the stack.
 UpdateStackRequest withCapabilities(Collection<String> capabilities)
          The list of capabilities that you want to allow in the stack.
 UpdateStackRequest withCapabilities(String... capabilities)
          The list of capabilities that you want to allow in the stack.
 UpdateStackRequest withNotificationARNs(Collection<String> notificationARNs)
          Update the ARNs for the Amazon SNS topics that are associated with the stack.
 UpdateStackRequest withNotificationARNs(String... notificationARNs)
          Update the ARNs for the Amazon SNS topics that are associated with the stack.
 UpdateStackRequest withParameters(Collection<Parameter> parameters)
          A list of Parameter structures that specify input parameters for the stack.
 UpdateStackRequest withParameters(Parameter... parameters)
          A list of Parameter structures that specify input parameters for the stack.
 UpdateStackRequest withStackName(String stackName)
          The name or stack ID of the stack to update.
 UpdateStackRequest withStackPolicyBody(String stackPolicyBody)
          Structure containing a new stack policy body.
 UpdateStackRequest withStackPolicyDuringUpdateBody(String stackPolicyDuringUpdateBody)
          Structure containing the temporary overriding stack policy body.
 UpdateStackRequest withStackPolicyDuringUpdateURL(String stackPolicyDuringUpdateURL)
          Location of a file containing the temporary overriding stack policy.
 UpdateStackRequest withStackPolicyURL(String stackPolicyURL)
          Location of a file containing the updated stack policy.
 UpdateStackRequest withTemplateBody(String templateBody)
          Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
 UpdateStackRequest withTemplateURL(String templateURL)
          Location of file containing the template body.
 UpdateStackRequest withUsePreviousTemplate(Boolean usePreviousTemplate)
          Reuse the existing template that is associated with the stack that you are updating.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateStackRequest

public UpdateStackRequest()
Method Detail

getStackName

public String getStackName()
The name or stack ID of the stack to update. Must contain only alphanumeric characters (case sensitive) and start with an alpha character. Maximum length of the name is 255 characters.

Returns:
The name or stack ID of the stack to update. Must contain only alphanumeric characters (case sensitive) and start with an alpha character. Maximum length of the name is 255 characters.

setStackName

public void setStackName(String stackName)
The name or stack ID of the stack to update. Must contain only alphanumeric characters (case sensitive) and start with an alpha character. Maximum length of the name is 255 characters.

Parameters:
stackName - The name or stack ID of the stack to update. Must contain only alphanumeric characters (case sensitive) and start with an alpha character. Maximum length of the name is 255 characters.

withStackName

public UpdateStackRequest withStackName(String stackName)
The name or stack ID of the stack to update. Must contain only alphanumeric characters (case sensitive) and start with an alpha character. Maximum length of the name is 255 characters.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stackName - The name or stack ID of the stack to update. Must contain only alphanumeric characters (case sensitive) and start with an alpha character. Maximum length of the name is 255 characters.
Returns:
A reference to this updated object so that method calls can be chained together.

getTemplateBody

public String getTemplateBody()
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the AWS CloudFormation User Guide.)

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

Constraints:
Length: 1 -

Returns:
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the AWS CloudFormation User Guide.)

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.


setTemplateBody

public void setTemplateBody(String templateBody)
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the AWS CloudFormation User Guide.)

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

Constraints:
Length: 1 -

Parameters:
templateBody - Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the AWS CloudFormation User Guide.)

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.


withTemplateBody

public UpdateStackRequest withTemplateBody(String templateBody)
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the AWS CloudFormation User Guide.)

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 -

Parameters:
templateBody - Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the AWS CloudFormation User Guide.)

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

Returns:
A reference to this updated object so that method calls can be chained together.

getTemplateURL

public String getTemplateURL()
Location of file containing the template body. The URL must point to a template located in an S3 bucket in the same region as the stack. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

Constraints:
Length: 1 - 1024

Returns:
Location of file containing the template body. The URL must point to a template located in an S3 bucket in the same region as the stack. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.


setTemplateURL

public void setTemplateURL(String templateURL)
Location of file containing the template body. The URL must point to a template located in an S3 bucket in the same region as the stack. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

Constraints:
Length: 1 - 1024

Parameters:
templateURL - Location of file containing the template body. The URL must point to a template located in an S3 bucket in the same region as the stack. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.


withTemplateURL

public UpdateStackRequest withTemplateURL(String templateURL)
Location of file containing the template body. The URL must point to a template located in an S3 bucket in the same region as the stack. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 1024

Parameters:
templateURL - Location of file containing the template body. The URL must point to a template located in an S3 bucket in the same region as the stack. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

Returns:
A reference to this updated object so that method calls can be chained together.

isUsePreviousTemplate

public Boolean isUsePreviousTemplate()
Reuse the existing template that is associated with the stack that you are updating.

Returns:
Reuse the existing template that is associated with the stack that you are updating.

setUsePreviousTemplate

public void setUsePreviousTemplate(Boolean usePreviousTemplate)
Reuse the existing template that is associated with the stack that you are updating.

Parameters:
usePreviousTemplate - Reuse the existing template that is associated with the stack that you are updating.

withUsePreviousTemplate

public UpdateStackRequest withUsePreviousTemplate(Boolean usePreviousTemplate)
Reuse the existing template that is associated with the stack that you are updating.

Returns a reference to this object so that method calls can be chained together.

Parameters:
usePreviousTemplate - Reuse the existing template that is associated with the stack that you are updating.
Returns:
A reference to this updated object so that method calls can be chained together.

getUsePreviousTemplate

public Boolean getUsePreviousTemplate()
Reuse the existing template that is associated with the stack that you are updating.

Returns:
Reuse the existing template that is associated with the stack that you are updating.

getStackPolicyDuringUpdateBody

public String getStackPolicyDuringUpdateBody()
Structure containing the temporary overriding stack policy body. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both.

If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.

Constraints:
Length: 1 - 16384

Returns:
Structure containing the temporary overriding stack policy body. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both.

If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.


setStackPolicyDuringUpdateBody

public void setStackPolicyDuringUpdateBody(String stackPolicyDuringUpdateBody)
Structure containing the temporary overriding stack policy body. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both.

If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.

Constraints:
Length: 1 - 16384

Parameters:
stackPolicyDuringUpdateBody - Structure containing the temporary overriding stack policy body. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both.

If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.


withStackPolicyDuringUpdateBody

public UpdateStackRequest withStackPolicyDuringUpdateBody(String stackPolicyDuringUpdateBody)
Structure containing the temporary overriding stack policy body. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both.

If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 16384

Parameters:
stackPolicyDuringUpdateBody - Structure containing the temporary overriding stack policy body. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both.

If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.

Returns:
A reference to this updated object so that method calls can be chained together.

getStackPolicyDuringUpdateURL

public String getStackPolicyDuringUpdateURL()
Location of a file containing the temporary overriding stack policy. The URL must point to a policy (max size: 16KB) located in an S3 bucket in the same region as the stack. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both.

If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.

Constraints:
Length: 1 - 1350

Returns:
Location of a file containing the temporary overriding stack policy. The URL must point to a policy (max size: 16KB) located in an S3 bucket in the same region as the stack. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both.

If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.


setStackPolicyDuringUpdateURL

public void setStackPolicyDuringUpdateURL(String stackPolicyDuringUpdateURL)
Location of a file containing the temporary overriding stack policy. The URL must point to a policy (max size: 16KB) located in an S3 bucket in the same region as the stack. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both.

If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.

Constraints:
Length: 1 - 1350

Parameters:
stackPolicyDuringUpdateURL - Location of a file containing the temporary overriding stack policy. The URL must point to a policy (max size: 16KB) located in an S3 bucket in the same region as the stack. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both.

If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.


withStackPolicyDuringUpdateURL

public UpdateStackRequest withStackPolicyDuringUpdateURL(String stackPolicyDuringUpdateURL)
Location of a file containing the temporary overriding stack policy. The URL must point to a policy (max size: 16KB) located in an S3 bucket in the same region as the stack. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both.

If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 1350

Parameters:
stackPolicyDuringUpdateURL - Location of a file containing the temporary overriding stack policy. The URL must point to a policy (max size: 16KB) located in an S3 bucket in the same region as the stack. You can specify either the StackPolicyDuringUpdateBody or the StackPolicyDuringUpdateURL parameter, but not both.

If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used.

Returns:
A reference to this updated object so that method calls can be chained together.

getParameters

public List<Parameter> getParameters()
A list of Parameter structures that specify input parameters for the stack.

Returns:
A list of Parameter structures that specify input parameters for the stack.

setParameters

public void setParameters(Collection<Parameter> parameters)
A list of Parameter structures that specify input parameters for the stack.

Parameters:
parameters - A list of Parameter structures that specify input parameters for the stack.

withParameters

public UpdateStackRequest withParameters(Parameter... parameters)
A list of Parameter structures that specify input parameters for the stack.

Returns a reference to this object so that method calls can be chained together.

Parameters:
parameters - A list of Parameter structures that specify input parameters for the stack.
Returns:
A reference to this updated object so that method calls can be chained together.

withParameters

public UpdateStackRequest withParameters(Collection<Parameter> parameters)
A list of Parameter structures that specify input parameters for the stack.

Returns a reference to this object so that method calls can be chained together.

Parameters:
parameters - A list of Parameter structures that specify input parameters for the stack.
Returns:
A reference to this updated object so that method calls can be chained together.

getCapabilities

public List<String> getCapabilities()
The list of capabilities that you want to allow in the stack. If your stack contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter; otherwise, this action returns an InsufficientCapabilities error. IAM resources are the following: AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::User, and AWS::IAM::UserToGroupAddition.

Returns:
The list of capabilities that you want to allow in the stack. If your stack contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter; otherwise, this action returns an InsufficientCapabilities error. IAM resources are the following: AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::User, and AWS::IAM::UserToGroupAddition.

setCapabilities

public void setCapabilities(Collection<String> capabilities)
The list of capabilities that you want to allow in the stack. If your stack contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter; otherwise, this action returns an InsufficientCapabilities error. IAM resources are the following: AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::User, and AWS::IAM::UserToGroupAddition.

Parameters:
capabilities - The list of capabilities that you want to allow in the stack. If your stack contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter; otherwise, this action returns an InsufficientCapabilities error. IAM resources are the following: AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::User, and AWS::IAM::UserToGroupAddition.

withCapabilities

public UpdateStackRequest withCapabilities(String... capabilities)
The list of capabilities that you want to allow in the stack. If your stack contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter; otherwise, this action returns an InsufficientCapabilities error. IAM resources are the following: AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::User, and AWS::IAM::UserToGroupAddition.

Returns a reference to this object so that method calls can be chained together.

Parameters:
capabilities - The list of capabilities that you want to allow in the stack. If your stack contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter; otherwise, this action returns an InsufficientCapabilities error. IAM resources are the following: AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::User, and AWS::IAM::UserToGroupAddition.
Returns:
A reference to this updated object so that method calls can be chained together.

withCapabilities

public UpdateStackRequest withCapabilities(Collection<String> capabilities)
The list of capabilities that you want to allow in the stack. If your stack contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter; otherwise, this action returns an InsufficientCapabilities error. IAM resources are the following: AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::User, and AWS::IAM::UserToGroupAddition.

Returns a reference to this object so that method calls can be chained together.

Parameters:
capabilities - The list of capabilities that you want to allow in the stack. If your stack contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter; otherwise, this action returns an InsufficientCapabilities error. IAM resources are the following: AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::User, and AWS::IAM::UserToGroupAddition.
Returns:
A reference to this updated object so that method calls can be chained together.

withCapabilities

public UpdateStackRequest withCapabilities(Capability... capabilities)
The list of capabilities that you want to allow in the stack. If your stack contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter; otherwise, this action returns an InsufficientCapabilities error. IAM resources are the following: AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::User, and AWS::IAM::UserToGroupAddition.

Returns a reference to this object so that method calls can be chained together.

Parameters:
capabilities - The list of capabilities that you want to allow in the stack. If your stack contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter; otherwise, this action returns an InsufficientCapabilities error. IAM resources are the following: AWS::IAM::AccessKey, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::User, and AWS::IAM::UserToGroupAddition.
Returns:
A reference to this updated object so that method calls can be chained together.

getStackPolicyBody

public String getStackPolicyBody()
Structure containing a new stack policy body. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.

Constraints:
Length: 1 - 16384

Returns:
Structure containing a new stack policy body. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.


setStackPolicyBody

public void setStackPolicyBody(String stackPolicyBody)
Structure containing a new stack policy body. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.

Constraints:
Length: 1 - 16384

Parameters:
stackPolicyBody - Structure containing a new stack policy body. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.


withStackPolicyBody

public UpdateStackRequest withStackPolicyBody(String stackPolicyBody)
Structure containing a new stack policy body. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 16384

Parameters:
stackPolicyBody - Structure containing a new stack policy body. You can specify either the StackPolicyBody or the StackPolicyURL parameter, but not both.

You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.

Returns:
A reference to this updated object so that method calls can be chained together.

getStackPolicyURL

public String getStackPolicyURL()
Location of a file containing the updated stack policy. The URL must point to a policy (max size: 16KB) 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.

You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.

Constraints:
Length: 1 - 1350

Returns:
Location of a file containing the updated stack policy. The URL must point to a policy (max size: 16KB) 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.

You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.


setStackPolicyURL

public void setStackPolicyURL(String stackPolicyURL)
Location of a file containing the updated stack policy. The URL must point to a policy (max size: 16KB) 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.

You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.

Constraints:
Length: 1 - 1350

Parameters:
stackPolicyURL - Location of a file containing the updated stack policy. The URL must point to a policy (max size: 16KB) 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.

You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.


withStackPolicyURL

public UpdateStackRequest withStackPolicyURL(String stackPolicyURL)
Location of a file containing the updated stack policy. The URL must point to a policy (max size: 16KB) 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.

You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 1350

Parameters:
stackPolicyURL - Location of a file containing the updated stack policy. The URL must point to a policy (max size: 16KB) 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.

You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged.

Returns:
A reference to this updated object so that method calls can be chained together.

getNotificationARNs

public List<String> getNotificationARNs()
Update the ARNs for the Amazon SNS topics that are associated with the stack.

Constraints:
Length: 0 - 5

Returns:
Update the ARNs for the Amazon SNS topics that are associated with the stack.

setNotificationARNs

public void setNotificationARNs(Collection<String> notificationARNs)
Update the ARNs for the Amazon SNS topics that are associated with the stack.

Constraints:
Length: 0 - 5

Parameters:
notificationARNs - Update the ARNs for the Amazon SNS topics that are associated with the stack.

withNotificationARNs

public UpdateStackRequest withNotificationARNs(String... notificationARNs)
Update the ARNs for the Amazon SNS topics that are associated with the stack.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 5

Parameters:
notificationARNs - Update the ARNs for the Amazon SNS topics that are associated with the stack.
Returns:
A reference to this updated object so that method calls can be chained together.

withNotificationARNs

public UpdateStackRequest withNotificationARNs(Collection<String> notificationARNs)
Update the ARNs for the Amazon SNS topics that are associated with the stack.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 5

Parameters:
notificationARNs - Update the ARNs for the Amazon SNS topics that are associated with the stack.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.