com.amazonaws.services.identitymanagement.model

## クラス DeleteAccessKeyRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.identitymanagement.model.DeleteAccessKeyRequest

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

      public class DeleteAccessKeyRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `DeleteAccessKey operation`.

  Deletes the access key associated with the specified user.

  If you do not specify a user name, IAM determines the user name implicitly based on the AWS Access Key ID signing the request. Because this action works for access keys under the AWS account, you can use this API to manage root credentials even if the AWS account has no associated users.

  関連項目:
    `AmazonIdentityManagement.deleteAccessKey(DeleteAccessKeyRequest)`, 直列化された形式

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

    コンストラクタ
    コンストラクタと説明
    `DeleteAccessKeyRequest()` Default constructor for a new DeleteAccessKeyRequest object.
    `DeleteAccessKeyRequest(java.lang.String accessKeyId)` Constructs a new DeleteAccessKeyRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAccessKeyId()` The Access Key ID for the Access Key ID and Secret Access Key you want to delete.
    `java.lang.String` | `getUserName()` Name of the user whose key you want to delete.
    `int` | `hashCode()`
    `void` | `setAccessKeyId(java.lang.String accessKeyId)` The Access Key ID for the Access Key ID and Secret Access Key you want to delete.
    `void` | `setUserName(java.lang.String userName)` Name of the user whose key you want to delete.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `DeleteAccessKeyRequest` | `withAccessKeyId(java.lang.String accessKeyId)` The Access Key ID for the Access Key ID and Secret Access Key you want to delete.
    `DeleteAccessKeyRequest` | `withUserName(java.lang.String userName)` Name of the user whose key you want to delete.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### DeleteAccessKeyRequest

          public DeleteAccessKeyRequest()

      Default constructor for a new DeleteAccessKeyRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

    - #### DeleteAccessKeyRequest

          public DeleteAccessKeyRequest(java.lang.String accessKeyId)

      Constructs a new DeleteAccessKeyRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `accessKeyId` - The Access Key ID for the Access Key ID and Secret Access Key you want to delete.

  - ### メソッドの詳細

    - #### getUserName

          public java.lang.String getUserName()

      Name of the user whose key you want to delete.

      Constraints:
      Length: 1 - 128
      Pattern: [\w+=,.@-]*

      戻り値:
        Name of the user whose key you want to delete.

    - #### setUserName

          public void setUserName(java.lang.String userName)

      Name of the user whose key you want to delete.

      Constraints:
      Length: 1 - 128
      Pattern: [\w+=,.@-]*

      パラメータ:
        `userName` - Name of the user whose key you want to delete.

    - #### withUserName

          public DeleteAccessKeyRequest withUserName(java.lang.String userName)

      Name of the user whose key you want to delete.

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

      Constraints:
      Length: 1 - 128
      Pattern: [\w+=,.@-]*

      パラメータ:
        `userName` - Name of the user whose key you want to delete.

    - #### getAccessKeyId

          public java.lang.String getAccessKeyId()

      The Access Key ID for the Access Key ID and Secret Access Key you want to delete.

      Constraints:
      Length: 16 - 32
      Pattern: [\w]*

      戻り値:
        The Access Key ID for the Access Key ID and Secret Access Key you want to delete.

    - #### setAccessKeyId

          public void setAccessKeyId(java.lang.String accessKeyId)

      The Access Key ID for the Access Key ID and Secret Access Key you want to delete.

      Constraints:
      Length: 16 - 32
      Pattern: [\w]*

      パラメータ:
        `accessKeyId` - The Access Key ID for the Access Key ID and Secret Access Key you want to delete.

    - #### withAccessKeyId

          public DeleteAccessKeyRequest withAccessKeyId(java.lang.String accessKeyId)

      The Access Key ID for the Access Key ID and Secret Access Key you want to delete.

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

      Constraints:
      Length: 16 - 32
      Pattern: [\w]*

      パラメータ:
        `accessKeyId` - The Access Key ID for the Access Key ID and Secret Access Key you want to delete.

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