com.amazonaws.services.identitymanagement.model

## クラス UploadSigningCertificateRequest

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

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

      public class UploadSigningCertificateRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `UploadSigningCertificate operation`.

  Uploads an X.509 signing certificate and associates it with the specified user. Some AWS services use X.509 signing certificates to validate requests that are signed with a corresponding private key. When you upload the certificate, its default status is `Active` .

  If the `UserName` field is not specified, the user name is determined implicitly based on the AWS Access Key ID used to sign the request. Because this action works for access keys under the AWS account, this API can be used to manage root credentials even if the AWS account has no associated users.

  NOTE:Because the body of a X.509 certificate can be large, you should use POST rather than GET when calling UploadSigningCertificate. For information about setting up signatures and authorization through the API, go to Signing AWS API Requests in the AWS General Reference. For general information about using the Query API with IAM, go to Making Query Requests in Using IAM.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCertificateBody()` The contents of the signing certificate.
    `java.lang.String` | `getUserName()` Name of the user the signing certificate is for.
    `int` | `hashCode()`
    `void` | `setCertificateBody(java.lang.String certificateBody)` The contents of the signing certificate.
    `void` | `setUserName(java.lang.String userName)` Name of the user the signing certificate is for.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `UploadSigningCertificateRequest` | `withCertificateBody(java.lang.String certificateBody)` The contents of the signing certificate.
    `UploadSigningCertificateRequest` | `withUserName(java.lang.String userName)` Name of the user the signing certificate is for.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### UploadSigningCertificateRequest

          public UploadSigningCertificateRequest()

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

    - #### UploadSigningCertificateRequest

          public UploadSigningCertificateRequest(java.lang.String certificateBody)

      Constructs a new UploadSigningCertificateRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `certificateBody` - The contents of the signing certificate.

  - ### メソッドの詳細

    - #### getUserName

          public java.lang.String getUserName()

      Name of the user the signing certificate is for.

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

      戻り値:
        Name of the user the signing certificate is for.

    - #### setUserName

          public void setUserName(java.lang.String userName)

      Name of the user the signing certificate is for.

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

      パラメータ:
        `userName` - Name of the user the signing certificate is for.

    - #### withUserName

          public UploadSigningCertificateRequest withUserName(java.lang.String userName)

      Name of the user the signing certificate is for.

      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 the signing certificate is for.

    - #### getCertificateBody

          public java.lang.String getCertificateBody()

      The contents of the signing certificate.

      Constraints:
      Length: 1 - 16384
      Pattern: [ -ÿ]+

      戻り値:
        The contents of the signing certificate.

    - #### setCertificateBody

          public void setCertificateBody(java.lang.String certificateBody)

      The contents of the signing certificate.

      Constraints:
      Length: 1 - 16384
      Pattern: [ -ÿ]+

      パラメータ:
        `certificateBody` - The contents of the signing certificate.

    - #### withCertificateBody

          public UploadSigningCertificateRequest withCertificateBody(java.lang.String certificateBody)

      The contents of the signing certificate.

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

      Constraints:
      Length: 1 - 16384
      Pattern: [ -ÿ]+

      パラメータ:
        `certificateBody` - The contents of the signing certificate.

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