com.amazonaws.services.opsworks.model

## クラス Permission

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

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

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

  Describes stack or user permissions.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Boolean` | `getAllowSsh()` Whether the user can use SSH.
    `java.lang.Boolean` | `getAllowSudo()` Whether the user can use sudo.
    `java.lang.String` | `getIamUserArn()` The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role.
    `java.lang.String` | `getStackId()` A stack ID.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isAllowSsh()` Whether the user can use SSH.
    `java.lang.Boolean` | `isAllowSudo()` Whether the user can use sudo.
    `void` | `setAllowSsh(java.lang.Boolean allowSsh)` Whether the user can use SSH.
    `void` | `setAllowSudo(java.lang.Boolean allowSudo)` Whether the user can use sudo.
    `void` | `setIamUserArn(java.lang.String iamUserArn)` The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role.
    `void` | `setStackId(java.lang.String stackId)` A stack ID.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `Permission` | `withAllowSsh(java.lang.Boolean allowSsh)` Whether the user can use SSH.
    `Permission` | `withAllowSudo(java.lang.Boolean allowSudo)` Whether the user can use sudo.
    `Permission` | `withIamUserArn(java.lang.String iamUserArn)` The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role.
    `Permission` | `withStackId(java.lang.String stackId)` A stack ID.

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

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

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

    - #### Permission

          public Permission()

  - ### メソッドの詳細

    - #### getStackId

          public java.lang.String getStackId()

      A stack ID.
      戻り値:
        A stack ID.

    - #### setStackId

          public void setStackId(java.lang.String stackId)

      A stack ID.
      パラメータ:
        `stackId` - A stack ID.

    - #### withStackId

          public Permission withStackId(java.lang.String stackId)

      A stack ID.

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

      パラメータ:
        `stackId` - A stack ID.

    - #### getIamUserArn

          public java.lang.String getIamUserArn()

      The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.
      戻り値:
        The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.

    - #### setIamUserArn

          public void setIamUserArn(java.lang.String iamUserArn)

      The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.
      パラメータ:
        `iamUserArn` - The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.

    - #### withIamUserArn

          public Permission withIamUserArn(java.lang.String iamUserArn)

      The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.

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

      パラメータ:
        `iamUserArn` - The Amazon Resource Name (ARN) for an AWS Identity and Access Management (IAM) role. For more information about IAM ARNs, see Using Identifiers.

    - #### isAllowSsh

          public java.lang.Boolean isAllowSsh()

      Whether the user can use SSH.
      戻り値:
        Whether the user can use SSH.

    - #### setAllowSsh

          public void setAllowSsh(java.lang.Boolean allowSsh)

      Whether the user can use SSH.
      パラメータ:
        `allowSsh` - Whether the user can use SSH.

    - #### withAllowSsh

          public Permission withAllowSsh(java.lang.Boolean allowSsh)

      Whether the user can use SSH.

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

      パラメータ:
        `allowSsh` - Whether the user can use SSH.

    - #### getAllowSsh

          public java.lang.Boolean getAllowSsh()

      Whether the user can use SSH.
      戻り値:
        Whether the user can use SSH.

    - #### isAllowSudo

          public java.lang.Boolean isAllowSudo()

      Whether the user can use sudo.
      戻り値:
        Whether the user can use sudo.

    - #### setAllowSudo

          public void setAllowSudo(java.lang.Boolean allowSudo)

      Whether the user can use sudo.
      パラメータ:
        `allowSudo` - Whether the user can use sudo.

    - #### withAllowSudo

          public Permission withAllowSudo(java.lang.Boolean allowSudo)

      Whether the user can use sudo.

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

      パラメータ:
        `allowSudo` - Whether the user can use sudo.

    - #### getAllowSudo

          public java.lang.Boolean getAllowSudo()

      Whether the user can use sudo.
      戻り値:
        Whether the user can use sudo.

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