com.amazonaws.services.identitymanagement.model

## クラス CreateAccountAliasRequest

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

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

      public class CreateAccountAliasRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CreateAccountAlias operation`.

  This action creates an alias for your AWS account. For information about using an AWS account alias, see Using an Alias for Your AWS Account ID in Using AWS Identity and Access Management .

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAccountAlias()` Name of the account alias to create.
    `int` | `hashCode()`
    `void` | `setAccountAlias(java.lang.String accountAlias)` Name of the account alias to create.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CreateAccountAliasRequest` | `withAccountAlias(java.lang.String accountAlias)` Name of the account alias to create.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CreateAccountAliasRequest

          public CreateAccountAliasRequest()

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

    - #### CreateAccountAliasRequest

          public CreateAccountAliasRequest(java.lang.String accountAlias)

      Constructs a new CreateAccountAliasRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `accountAlias` - Name of the account alias to create.

  - ### メソッドの詳細

    - #### getAccountAlias

          public java.lang.String getAccountAlias()

      Name of the account alias to create.

      Constraints:
      Length: 3 - 63
      Pattern: ^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$

      戻り値:
        Name of the account alias to create.

    - #### setAccountAlias

          public void setAccountAlias(java.lang.String accountAlias)

      Name of the account alias to create.

      Constraints:
      Length: 3 - 63
      Pattern: ^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$

      パラメータ:
        `accountAlias` - Name of the account alias to create.

    - #### withAccountAlias

          public CreateAccountAliasRequest withAccountAlias(java.lang.String accountAlias)

      Name of the account alias to create.

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

      Constraints:
      Length: 3 - 63
      Pattern: ^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$

      パラメータ:
        `accountAlias` - Name of the account alias to create.

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