com.amazonaws.services.opsworks.model

## クラス DescribePermissionsResult

- java.lang.Object
- - com.amazonaws.services.opsworks.model.DescribePermissionsResult

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

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

  Contains the response to a `DescribePermissions` request.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.util.List<Permission>` | `getPermissions()` An array of `Permission` objects that describe the stack permissions.
    `int` | `hashCode()`
    `void` | `setPermissions(java.util.Collection<Permission> permissions)` An array of `Permission` objects that describe the stack permissions.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DescribePermissionsResult` | `withPermissions(java.util.Collection<Permission> permissions)` An array of `Permission` objects that describe the stack permissions.
    `DescribePermissionsResult` | `withPermissions(Permission... permissions)` An array of `Permission` objects that describe the stack permissions.

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

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

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

    - #### DescribePermissionsResult

          public DescribePermissionsResult()

  - ### メソッドの詳細

    - #### getPermissions

          public java.util.List<Permission> getPermissions()

      An array of `Permission` objects that describe the stack permissions.
      - If the request object contains only a stack ID, the array contains a `Permission` object with permissions for each of the stack IAM ARNs.
      - If the request object contains only an IAM ARN, the array contains a `Permission` object with permissions for each of the user's stack IDs.
      - If the request contains a stack ID and an IAM ARN, the array contains a single `Permission` object with permissions for the specified stack and IAM ARN.
      戻り値:
        An array of `Permission` objects that describe the stack permissions.
        - If the request object contains only a stack ID, the array contains a `Permission` object with permissions for each of the stack IAM ARNs.
        - If the request object contains only an IAM ARN, the array contains a `Permission` object with permissions for each of the user's stack IDs.
        - If the request contains a stack ID and an IAM ARN, the array contains a single `Permission` object with permissions for the specified stack and IAM ARN.

    - #### setPermissions

          public void setPermissions(java.util.Collection<Permission> permissions)

      An array of `Permission` objects that describe the stack permissions.
      - If the request object contains only a stack ID, the array contains a `Permission` object with permissions for each of the stack IAM ARNs.
      - If the request object contains only an IAM ARN, the array contains a `Permission` object with permissions for each of the user's stack IDs.
      - If the request contains a stack ID and an IAM ARN, the array contains a single `Permission` object with permissions for the specified stack and IAM ARN.
      パラメータ:
        `permissions` - An array of `Permission` objects that describe the stack permissions.
        - If the request object contains only a stack ID, the array contains a `Permission` object with permissions for each of the stack IAM ARNs.
        - If the request object contains only an IAM ARN, the array contains a `Permission` object with permissions for each of the user's stack IDs.
        - If the request contains a stack ID and an IAM ARN, the array contains a single `Permission` object with permissions for the specified stack and IAM ARN.

    - #### withPermissions

          public DescribePermissionsResult withPermissions(Permission... permissions)

      An array of `Permission` objects that describe the stack permissions.
      - If the request object contains only a stack ID, the array contains a `Permission` object with permissions for each of the stack IAM ARNs.
      - If the request object contains only an IAM ARN, the array contains a `Permission` object with permissions for each of the user's stack IDs.
      - If the request contains a stack ID and an IAM ARN, the array contains a single `Permission` object with permissions for the specified stack and IAM ARN.

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

      パラメータ:
        `permissions` - An array of `Permission` objects that describe the stack permissions.
        - If the request object contains only a stack ID, the array contains a `Permission` object with permissions for each of the stack IAM ARNs.
        - If the request object contains only an IAM ARN, the array contains a `Permission` object with permissions for each of the user's stack IDs.
        - If the request contains a stack ID and an IAM ARN, the array contains a single `Permission` object with permissions for the specified stack and IAM ARN.

    - #### withPermissions

          public DescribePermissionsResult withPermissions(java.util.Collection<Permission> permissions)

      An array of `Permission` objects that describe the stack permissions.
      - If the request object contains only a stack ID, the array contains a `Permission` object with permissions for each of the stack IAM ARNs.
      - If the request object contains only an IAM ARN, the array contains a `Permission` object with permissions for each of the user's stack IDs.
      - If the request contains a stack ID and an IAM ARN, the array contains a single `Permission` object with permissions for the specified stack and IAM ARN.

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

      パラメータ:
        `permissions` - An array of `Permission` objects that describe the stack permissions.
        - If the request object contains only a stack ID, the array contains a `Permission` object with permissions for each of the stack IAM ARNs.
        - If the request object contains only an IAM ARN, the array contains a `Permission` object with permissions for each of the user's stack IDs.
        - If the request contains a stack ID and an IAM ARN, the array contains a single `Permission` object with permissions for the specified stack and IAM ARN.

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