com.amazonaws.services.opsworks.model

## クラス SetPermissionRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.opsworks.model.SetPermissionRequest

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

      public class SetPermissionRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `SetPermission operation`.

  Specifies a stack's permissions. For more information, see Security and Permissions .

  関連項目:
    `AWSOpsWorks.setPermission(SetPermissionRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.Boolean` | `getAllowSsh()` The user is allowed to use SSH to communicate with the instance.
    `java.lang.Boolean` | `getAllowSudo()` The user is allowed to use sudo to elevate privileges.
    `java.lang.String` | `getIamUserArn()` The user's IAM ARN.
    `java.lang.String` | `getStackId()` The stack ID.
    `int` | `hashCode()`
    `java.lang.Boolean` | `isAllowSsh()` The user is allowed to use SSH to communicate with the instance.
    `java.lang.Boolean` | `isAllowSudo()` The user is allowed to use sudo to elevate privileges.
    `void` | `setAllowSsh(java.lang.Boolean allowSsh)` The user is allowed to use SSH to communicate with the instance.
    `void` | `setAllowSudo(java.lang.Boolean allowSudo)` The user is allowed to use sudo to elevate privileges.
    `void` | `setIamUserArn(java.lang.String iamUserArn)` The user's IAM ARN.
    `void` | `setStackId(java.lang.String stackId)` The stack ID.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `SetPermissionRequest` | `withAllowSsh(java.lang.Boolean allowSsh)` The user is allowed to use SSH to communicate with the instance.
    `SetPermissionRequest` | `withAllowSudo(java.lang.Boolean allowSudo)` The user is allowed to use sudo to elevate privileges.
    `SetPermissionRequest` | `withIamUserArn(java.lang.String iamUserArn)` The user's IAM ARN.
    `SetPermissionRequest` | `withStackId(java.lang.String stackId)` The stack ID.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### SetPermissionRequest

          public SetPermissionRequest()

  - ### メソッドの詳細

    - #### getStackId

          public java.lang.String getStackId()

      The stack ID.
      戻り値:
        The stack ID.

    - #### setStackId

          public void setStackId(java.lang.String stackId)

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

    - #### withStackId

          public SetPermissionRequest withStackId(java.lang.String stackId)

      The stack ID.

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

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

    - #### getIamUserArn

          public java.lang.String getIamUserArn()

      The user's IAM ARN.
      戻り値:
        The user's IAM ARN.

    - #### setIamUserArn

          public void setIamUserArn(java.lang.String iamUserArn)

      The user's IAM ARN.
      パラメータ:
        `iamUserArn` - The user's IAM ARN.

    - #### withIamUserArn

          public SetPermissionRequest withIamUserArn(java.lang.String iamUserArn)

      The user's IAM ARN.

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

      パラメータ:
        `iamUserArn` - The user's IAM ARN.

    - #### isAllowSsh

          public java.lang.Boolean isAllowSsh()

      The user is allowed to use SSH to communicate with the instance.
      戻り値:
        The user is allowed to use SSH to communicate with the instance.

    - #### setAllowSsh

          public void setAllowSsh(java.lang.Boolean allowSsh)

      The user is allowed to use SSH to communicate with the instance.
      パラメータ:
        `allowSsh` - The user is allowed to use SSH to communicate with the instance.

    - #### withAllowSsh

          public SetPermissionRequest withAllowSsh(java.lang.Boolean allowSsh)

      The user is allowed to use SSH to communicate with the instance.

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

      パラメータ:
        `allowSsh` - The user is allowed to use SSH to communicate with the instance.

    - #### getAllowSsh

          public java.lang.Boolean getAllowSsh()

      The user is allowed to use SSH to communicate with the instance.
      戻り値:
        The user is allowed to use SSH to communicate with the instance.

    - #### isAllowSudo

          public java.lang.Boolean isAllowSudo()

      The user is allowed to use sudo to elevate privileges.
      戻り値:
        The user is allowed to use sudo to elevate privileges.

    - #### setAllowSudo

          public void setAllowSudo(java.lang.Boolean allowSudo)

      The user is allowed to use sudo to elevate privileges.
      パラメータ:
        `allowSudo` - The user is allowed to use sudo to elevate privileges.

    - #### withAllowSudo

          public SetPermissionRequest withAllowSudo(java.lang.Boolean allowSudo)

      The user is allowed to use sudo to elevate privileges.

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

      パラメータ:
        `allowSudo` - The user is allowed to use sudo to elevate privileges.

    - #### getAllowSudo

          public java.lang.Boolean getAllowSudo()

      The user is allowed to use sudo to elevate privileges.
      戻り値:
        The user is allowed to use sudo to elevate privileges.

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