com.amazonaws.services.cloudformation.model

## クラス Stack

- java.lang.Object
- - com.amazonaws.services.cloudformation.model.Stack

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

      public class Stack
      extends java.lang.Object
      implements java.io.Serializable

  The Stack data type.

  関連項目:
    直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<java.lang.String>` | `getCapabilities()` The capabilities allowed in the stack.
    `java.util.Date` | `getCreationTime()` Time at which the stack was created.
    `java.lang.String` | `getDescription()` User defined description associated with the stack.
    `java.lang.Boolean` | `getDisableRollback()` Boolean to enable or disable rollback on stack creation failures: `true`: disable rollback `false`: enable rollback
    `java.util.Date` | `getLastUpdatedTime()` The time the stack was last updated.
    `java.util.List<java.lang.String>` | `getNotificationARNs()` SNS topic ARNs to which stack related events are published.
    `java.util.List<Output>` | `getOutputs()` A list of output structures.
    `java.util.List<Parameter>` | `getParameters()` A list of `Parameter` structures.
    `java.lang.String` | `getStackId()` Unique identifier of the stack.
    `java.lang.String` | `getStackName()` The name associated with the stack.
    `java.lang.String` | `getStackStatus()` Current status of the stack.
    `java.lang.String` | `getStackStatusReason()` Success/failure message associated with the stack status.
    `java.util.List<Tag>` | `getTags()` A list of `Tag`s that specify cost allocation information for the stack.
    `java.lang.Integer` | `getTimeoutInMinutes()` The amount of time within which stack creation should complete.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isDisableRollback()` Boolean to enable or disable rollback on stack creation failures: `true`: disable rollback `false`: enable rollback
    `void` | `setCapabilities(java.util.Collection<java.lang.String> capabilities)` The capabilities allowed in the stack.
    `void` | `setCreationTime(java.util.Date creationTime)` Time at which the stack was created.
    `void` | `setDescription(java.lang.String description)` User defined description associated with the stack.
    `void` | `setDisableRollback(java.lang.Boolean disableRollback)` Boolean to enable or disable rollback on stack creation failures: `true`: disable rollback `false`: enable rollback
    `void` | `setLastUpdatedTime(java.util.Date lastUpdatedTime)` The time the stack was last updated.
    `void` | `setNotificationARNs(java.util.Collection<java.lang.String> notificationARNs)` SNS topic ARNs to which stack related events are published.
    `void` | `setOutputs(java.util.Collection<Output> outputs)` A list of output structures.
    `void` | `setParameters(java.util.Collection<Parameter> parameters)` A list of `Parameter` structures.
    `void` | `setStackId(java.lang.String stackId)` Unique identifier of the stack.
    `void` | `setStackName(java.lang.String stackName)` The name associated with the stack.
    `void` | `setStackStatus(StackStatus stackStatus)` Current status of the stack.
    `void` | `setStackStatus(java.lang.String stackStatus)` Current status of the stack.
    `void` | `setStackStatusReason(java.lang.String stackStatusReason)` Success/failure message associated with the stack status.
    `void` | `setTags(java.util.Collection<Tag> tags)` A list of `Tag`s that specify cost allocation information for the stack.
    `void` | `setTimeoutInMinutes(java.lang.Integer timeoutInMinutes)` The amount of time within which stack creation should complete.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Stack` | `withCapabilities(java.util.Collection<java.lang.String> capabilities)` The capabilities allowed in the stack.
    `Stack` | `withCapabilities(java.lang.String... capabilities)` The capabilities allowed in the stack.
    `Stack` | `withCreationTime(java.util.Date creationTime)` Time at which the stack was created.
    `Stack` | `withDescription(java.lang.String description)` User defined description associated with the stack.
    `Stack` | `withDisableRollback(java.lang.Boolean disableRollback)` Boolean to enable or disable rollback on stack creation failures: `true`: disable rollback `false`: enable rollback Returns a reference to this object so that method calls can be chained together.
    `Stack` | `withLastUpdatedTime(java.util.Date lastUpdatedTime)` The time the stack was last updated.
    `Stack` | `withNotificationARNs(java.util.Collection<java.lang.String> notificationARNs)` SNS topic ARNs to which stack related events are published.
    `Stack` | `withNotificationARNs(java.lang.String... notificationARNs)` SNS topic ARNs to which stack related events are published.
    `Stack` | `withOutputs(java.util.Collection<Output> outputs)` A list of output structures.
    `Stack` | `withOutputs(Output... outputs)` A list of output structures.
    `Stack` | `withParameters(java.util.Collection<Parameter> parameters)` A list of `Parameter` structures.
    `Stack` | `withParameters(Parameter... parameters)` A list of `Parameter` structures.
    `Stack` | `withStackId(java.lang.String stackId)` Unique identifier of the stack.
    `Stack` | `withStackName(java.lang.String stackName)` The name associated with the stack.
    `Stack` | `withStackStatus(StackStatus stackStatus)` Current status of the stack.
    `Stack` | `withStackStatus(java.lang.String stackStatus)` Current status of the stack.
    `Stack` | `withStackStatusReason(java.lang.String stackStatusReason)` Success/failure message associated with the stack status.
    `Stack` | `withTags(java.util.Collection<Tag> tags)` A list of `Tag`s that specify cost allocation information for the stack.
    `Stack` | `withTags(Tag... tags)` A list of `Tag`s that specify cost allocation information for the stack.
    `Stack` | `withTimeoutInMinutes(java.lang.Integer timeoutInMinutes)` The amount of time within which stack creation should complete.

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

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

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

    - #### Stack

          public Stack()

  - ### メソッドの詳細

    - #### getStackId

          public java.lang.String getStackId()

      Unique identifier of the stack.
      戻り値:
        Unique identifier of the stack.

    - #### setStackId

          public void setStackId(java.lang.String stackId)

      Unique identifier of the stack.
      パラメータ:
        `stackId` - Unique identifier of the stack.

    - #### withStackId

          public Stack withStackId(java.lang.String stackId)

      Unique identifier of the stack.

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

      パラメータ:
        `stackId` - Unique identifier of the stack.

    - #### getStackName

          public java.lang.String getStackName()

      The name associated with the stack.
      戻り値:
        The name associated with the stack.

    - #### setStackName

          public void setStackName(java.lang.String stackName)

      The name associated with the stack.
      パラメータ:
        `stackName` - The name associated with the stack.

    - #### withStackName

          public Stack withStackName(java.lang.String stackName)

      The name associated with the stack.

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

      パラメータ:
        `stackName` - The name associated with the stack.

    - #### getDescription

          public java.lang.String getDescription()

      User defined description associated with the stack.
      戻り値:
        User defined description associated with the stack.

    - #### setDescription

          public void setDescription(java.lang.String description)

      User defined description associated with the stack.
      パラメータ:
        `description` - User defined description associated with the stack.

    - #### withDescription

          public Stack withDescription(java.lang.String description)

      User defined description associated with the stack.

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

      パラメータ:
        `description` - User defined description associated with the stack.

    - #### getParameters

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

      A list of `Parameter` structures.
      戻り値:
        A list of `Parameter` structures.

    - #### setParameters

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

      A list of `Parameter` structures.
      パラメータ:
        `parameters` - A list of `Parameter` structures.

    - #### withParameters

          public Stack withParameters(Parameter... parameters)

      A list of `Parameter` structures.

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

      パラメータ:
        `parameters` - A list of `Parameter` structures.

    - #### withParameters

          public Stack withParameters(java.util.Collection<Parameter> parameters)

      A list of `Parameter` structures.

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

      パラメータ:
        `parameters` - A list of `Parameter` structures.

    - #### getCreationTime

          public java.util.Date getCreationTime()

      Time at which the stack was created.
      戻り値:
        Time at which the stack was created.

    - #### setCreationTime

          public void setCreationTime(java.util.Date creationTime)

      Time at which the stack was created.
      パラメータ:
        `creationTime` - Time at which the stack was created.

    - #### withCreationTime

          public Stack withCreationTime(java.util.Date creationTime)

      Time at which the stack was created.

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

      パラメータ:
        `creationTime` - Time at which the stack was created.

    - #### getLastUpdatedTime

          public java.util.Date getLastUpdatedTime()

      The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
      戻り値:
        The time the stack was last updated. This field will only be returned if the stack has been updated at least once.

    - #### setLastUpdatedTime

          public void setLastUpdatedTime(java.util.Date lastUpdatedTime)

      The time the stack was last updated. This field will only be returned if the stack has been updated at least once.
      パラメータ:
        `lastUpdatedTime` - The time the stack was last updated. This field will only be returned if the stack has been updated at least once.

    - #### withLastUpdatedTime

          public Stack withLastUpdatedTime(java.util.Date lastUpdatedTime)

      The time the stack was last updated. This field will only be returned if the stack has been updated at least once.

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

      パラメータ:
        `lastUpdatedTime` - The time the stack was last updated. This field will only be returned if the stack has been updated at least once.

    - #### getStackStatus

          public java.lang.String getStackStatus()

      Current status of the stack.

      Constraints:
      Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_ROLLBACK_COMPLETE

      戻り値:
        Current status of the stack.
      関連項目:
        `StackStatus`

    - #### setStackStatus

          public void setStackStatus(java.lang.String stackStatus)

      Current status of the stack.

      Constraints:
      Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_ROLLBACK_COMPLETE

      パラメータ:
        `stackStatus` - Current status of the stack.
      関連項目:
        `StackStatus`

    - #### withStackStatus

          public Stack withStackStatus(java.lang.String stackStatus)

      Current status of the stack.

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

      Constraints:
      Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_ROLLBACK_COMPLETE

      パラメータ:
        `stackStatus` - Current status of the stack.
      関連項目:
        `StackStatus`

    - #### setStackStatus

          public void setStackStatus(StackStatus stackStatus)

      Current status of the stack.

      Constraints:
      Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_ROLLBACK_COMPLETE

      パラメータ:
        `stackStatus` - Current status of the stack.
      関連項目:
        `StackStatus`

    - #### withStackStatus

          public Stack withStackStatus(StackStatus stackStatus)

      Current status of the stack.

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

      Constraints:
      Allowed Values: CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_ROLLBACK_COMPLETE

      パラメータ:
        `stackStatus` - Current status of the stack.
      関連項目:
        `StackStatus`

    - #### getStackStatusReason

          public java.lang.String getStackStatusReason()

      Success/failure message associated with the stack status.
      戻り値:
        Success/failure message associated with the stack status.

    - #### setStackStatusReason

          public void setStackStatusReason(java.lang.String stackStatusReason)

      Success/failure message associated with the stack status.
      パラメータ:
        `stackStatusReason` - Success/failure message associated with the stack status.

    - #### withStackStatusReason

          public Stack withStackStatusReason(java.lang.String stackStatusReason)

      Success/failure message associated with the stack status.

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

      パラメータ:
        `stackStatusReason` - Success/failure message associated with the stack status.

    - #### isDisableRollback

          public java.lang.Boolean isDisableRollback()

      Boolean to enable or disable rollback on stack creation failures:

      - `true`: disable rollback
      - `false`: enable rollback
      戻り値:
        Boolean to enable or disable rollback on stack creation failures:

        - `true`: disable rollback
        - `false`: enable rollback

    - #### setDisableRollback

          public void setDisableRollback(java.lang.Boolean disableRollback)

      Boolean to enable or disable rollback on stack creation failures:

      - `true`: disable rollback
      - `false`: enable rollback
      パラメータ:
        `disableRollback` - Boolean to enable or disable rollback on stack creation failures:

        - `true`: disable rollback
        - `false`: enable rollback

    - #### withDisableRollback

          public Stack withDisableRollback(java.lang.Boolean disableRollback)

      Boolean to enable or disable rollback on stack creation failures:

      - `true`: disable rollback
      - `false`: enable rollback

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

      パラメータ:
        `disableRollback` - Boolean to enable or disable rollback on stack creation failures:

        - `true`: disable rollback
        - `false`: enable rollback

    - #### getDisableRollback

          public java.lang.Boolean getDisableRollback()

      Boolean to enable or disable rollback on stack creation failures:

      - `true`: disable rollback
      - `false`: enable rollback
      戻り値:
        Boolean to enable or disable rollback on stack creation failures:

        - `true`: disable rollback
        - `false`: enable rollback

    - #### getNotificationARNs

          public java.util.List<java.lang.String> getNotificationARNs()

      SNS topic ARNs to which stack related events are published.

      Constraints:
      Length: 0 - 5

      戻り値:
        SNS topic ARNs to which stack related events are published.

    - #### setNotificationARNs

          public void setNotificationARNs(java.util.Collection<java.lang.String> notificationARNs)

      SNS topic ARNs to which stack related events are published.

      Constraints:
      Length: 0 - 5

      パラメータ:
        `notificationARNs` - SNS topic ARNs to which stack related events are published.

    - #### withNotificationARNs

          public Stack withNotificationARNs(java.lang.String... notificationARNs)

      SNS topic ARNs to which stack related events are published.

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

      Constraints:
      Length: 0 - 5

      パラメータ:
        `notificationARNs` - SNS topic ARNs to which stack related events are published.

    - #### withNotificationARNs

          public Stack withNotificationARNs(java.util.Collection<java.lang.String> notificationARNs)

      SNS topic ARNs to which stack related events are published.

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

      Constraints:
      Length: 0 - 5

      パラメータ:
        `notificationARNs` - SNS topic ARNs to which stack related events are published.

    - #### getTimeoutInMinutes

          public java.lang.Integer getTimeoutInMinutes()

      The amount of time within which stack creation should complete.

      Constraints:
      Range: 1 -

      戻り値:
        The amount of time within which stack creation should complete.

    - #### setTimeoutInMinutes

          public void setTimeoutInMinutes(java.lang.Integer timeoutInMinutes)

      The amount of time within which stack creation should complete.

      Constraints:
      Range: 1 -

      パラメータ:
        `timeoutInMinutes` - The amount of time within which stack creation should complete.

    - #### withTimeoutInMinutes

          public Stack withTimeoutInMinutes(java.lang.Integer timeoutInMinutes)

      The amount of time within which stack creation should complete.

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

      Constraints:
      Range: 1 -

      パラメータ:
        `timeoutInMinutes` - The amount of time within which stack creation should complete.

    - #### getCapabilities

          public java.util.List<java.lang.String> getCapabilities()

      The capabilities allowed in the stack.
      戻り値:
        The capabilities allowed in the stack.

    - #### setCapabilities

          public void setCapabilities(java.util.Collection<java.lang.String> capabilities)

      The capabilities allowed in the stack.
      パラメータ:
        `capabilities` - The capabilities allowed in the stack.

    - #### withCapabilities

          public Stack withCapabilities(java.lang.String... capabilities)

      The capabilities allowed in the stack.

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

      パラメータ:
        `capabilities` - The capabilities allowed in the stack.

    - #### withCapabilities

          public Stack withCapabilities(java.util.Collection<java.lang.String> capabilities)

      The capabilities allowed in the stack.

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

      パラメータ:
        `capabilities` - The capabilities allowed in the stack.

    - #### getOutputs

          public java.util.List<Output> getOutputs()

      A list of output structures.
      戻り値:
        A list of output structures.

    - #### setOutputs

          public void setOutputs(java.util.Collection<Output> outputs)

      A list of output structures.
      パラメータ:
        `outputs` - A list of output structures.

    - #### withOutputs

          public Stack withOutputs(Output... outputs)

      A list of output structures.

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

      パラメータ:
        `outputs` - A list of output structures.

    - #### withOutputs

          public Stack withOutputs(java.util.Collection<Output> outputs)

      A list of output structures.

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

      パラメータ:
        `outputs` - A list of output structures.

    - #### getTags

          public java.util.List<Tag> getTags()

      A list of `Tag`s that specify cost allocation information for the stack.
      戻り値:
        A list of `Tag`s that specify cost allocation information for the stack.

    - #### setTags

          public void setTags(java.util.Collection<Tag> tags)

      A list of `Tag`s that specify cost allocation information for the stack.
      パラメータ:
        `tags` - A list of `Tag`s that specify cost allocation information for the stack.

    - #### withTags

          public Stack withTags(Tag... tags)

      A list of `Tag`s that specify cost allocation information for the stack.

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

      パラメータ:
        `tags` - A list of `Tag`s that specify cost allocation information for the stack.

    - #### withTags

          public Stack withTags(java.util.Collection<Tag> tags)

      A list of `Tag`s that specify cost allocation information for the stack.

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

      パラメータ:
        `tags` - A list of `Tag`s that specify cost allocation information for the stack.

    - #### 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`