com.amazonaws.services.cloudformation.model

## クラス UpdateStackRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.cloudformation.model.UpdateStackRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class UpdateStackRequest
      extends AmazonWebServiceRequest
      implements java.io.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 .

  関連項目:
    `AmazonCloudFormation.updateStack(UpdateStackRequest)`, 直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `UpdateStackRequest()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<java.lang.String>` | `getCapabilities()` The list of capabilities that you want to allow in the stack.
    `java.util.List<Parameter>` | `getParameters()` A list of `Parameter` structures that specify input parameters for the stack.
    `java.lang.String` | `getStackName()` The name or stack ID of the stack to update.
    `java.lang.String` | `getTemplateBody()` Structure containing the template body.
    `java.lang.String` | `getTemplateURL()` Location of file containing the template body.
    `int` | `hashCode()`
    `void` | `setCapabilities(java.util.Collection<java.lang.String> capabilities)` The list of capabilities that you want to allow in the stack.
    `void` | `setParameters(java.util.Collection<Parameter> parameters)` A list of `Parameter` structures that specify input parameters for the stack.
    `void` | `setStackName(java.lang.String stackName)` The name or stack ID of the stack to update.
    `void` | `setTemplateBody(java.lang.String templateBody)` Structure containing the template body.
    `void` | `setTemplateURL(java.lang.String templateURL)` Location of file containing the template body.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `UpdateStackRequest` | `withCapabilities(java.util.Collection<java.lang.String> capabilities)` The list of capabilities that you want to allow in the stack.
    `UpdateStackRequest` | `withCapabilities(java.lang.String... capabilities)` The list of capabilities that you want to allow in the stack.
    `UpdateStackRequest` | `withParameters(java.util.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(java.lang.String stackName)` The name or stack ID of the stack to update.
    `UpdateStackRequest` | `withTemplateBody(java.lang.String templateBody)` Structure containing the template body.
    `UpdateStackRequest` | `withTemplateURL(java.lang.String templateURL)` Location of file containing the template body.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### UpdateStackRequest

          public UpdateStackRequest()

  - ### メソッドの詳細

    - #### getStackName

          public java.lang.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.
      戻り値:
        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(java.lang.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.
      パラメータ:
        `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(java.lang.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.

      パラメータ:
        `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.

    - #### getTemplateBody

          public java.lang.String getTemplateBody()

      Structure containing the template body. (For more information, go to the AWS CloudFormation User Guide.)

      Conditional: You must pass `TemplateBody` or `TemplateURL`. If both are passed, only `TemplateBody` is used.

      Constraints:
      Length: 1 - 51200

      戻り値:
        Structure containing the template body. (For more information, go to the AWS CloudFormation User Guide.)

        Conditional: You must pass `TemplateBody` or `TemplateURL`. If both are passed, only `TemplateBody` is used.

    - #### setTemplateBody

          public void setTemplateBody(java.lang.String templateBody)

      Structure containing the template body. (For more information, go to the AWS CloudFormation User Guide.)

      Conditional: You must pass `TemplateBody` or `TemplateURL`. If both are passed, only `TemplateBody` is used.

      Constraints:
      Length: 1 - 51200

      パラメータ:
        `templateBody` - Structure containing the template body. (For more information, go to the AWS CloudFormation User Guide.)

        Conditional: You must pass `TemplateBody` or `TemplateURL`. If both are passed, only `TemplateBody` is used.

    - #### withTemplateBody

          public UpdateStackRequest withTemplateBody(java.lang.String templateBody)

      Structure containing the template body. (For more information, go to the AWS CloudFormation User Guide.)

      Conditional: You must pass `TemplateBody` or `TemplateURL`. If both are passed, only `TemplateBody` is used.

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

      Constraints:
      Length: 1 - 51200

      パラメータ:
        `templateBody` - Structure containing the template body. (For more information, go to the AWS CloudFormation User Guide.)

        Conditional: You must pass `TemplateBody` or `TemplateURL`. If both are passed, only `TemplateBody` is used.

    - #### getTemplateURL

          public java.lang.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 the AWS CloudFormation User Guide.

      Conditional: You must pass `TemplateURL` or `TemplateBody`. If both are passed, only `TemplateBody` is used.

      Constraints:
      Length: 1 - 1024

      戻り値:
        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 the AWS CloudFormation User Guide.

        Conditional: You must pass `TemplateURL` or `TemplateBody`. If both are passed, only `TemplateBody` is used.

    - #### setTemplateURL

          public void setTemplateURL(java.lang.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 the AWS CloudFormation User Guide.

      Conditional: You must pass `TemplateURL` or `TemplateBody`. If both are passed, only `TemplateBody` is used.

      Constraints:
      Length: 1 - 1024

      パラメータ:
        `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 the AWS CloudFormation User Guide.

        Conditional: You must pass `TemplateURL` or `TemplateBody`. If both are passed, only `TemplateBody` is used.

    - #### withTemplateURL

          public UpdateStackRequest withTemplateURL(java.lang.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 the AWS CloudFormation User Guide.

      Conditional: You must pass `TemplateURL` or `TemplateBody`. If both are passed, only `TemplateBody` is used.

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

      Constraints:
      Length: 1 - 1024

      パラメータ:
        `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 the AWS CloudFormation User Guide.

        Conditional: You must pass `TemplateURL` or `TemplateBody`. If both are passed, only `TemplateBody` is used.

    - #### getParameters

          public java.util.List<Parameter> getParameters()

      A list of `Parameter` structures that specify input parameters for the stack.
      戻り値:
        A list of `Parameter` structures that specify input parameters for the stack.

    - #### setParameters

          public void setParameters(java.util.Collection<Parameter> parameters)

      A list of `Parameter` structures that specify input parameters for the stack.
      パラメータ:
        `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` - A list of `Parameter` structures that specify input parameters for the stack.

    - #### withParameters

          public UpdateStackRequest withParameters(java.util.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` - A list of `Parameter` structures that specify input parameters for the stack.

    - #### getCapabilities

          public java.util.List<java.lang.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.
      戻り値:
        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(java.util.Collection<java.lang.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.
      パラメータ:
        `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(java.lang.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.

      パラメータ:
        `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(java.util.Collection<java.lang.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.

      パラメータ:
        `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.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`