com.amazonaws.services.identitymanagement.model

## クラス UpdateSigningCertificateRequest

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

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

      public class UpdateSigningCertificateRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `UpdateSigningCertificate operation`.

  Changes the status of the specified signing certificate from active to disabled, or vice versa. This action can be used to disable a user's signing certificate as part of a certificate rotation work flow.

  If the `UserName` field is not specified, the UserName 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.

  For information about rotating certificates, see Managing Keys and Certificates in Using AWS Identity and Access Management .

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

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

    コンストラクタ
    コンストラクタと説明
    `UpdateSigningCertificateRequest()` Default constructor for a new UpdateSigningCertificateRequest object.
    `UpdateSigningCertificateRequest(java.lang.String certificateId, StatusType status)` Constructs a new UpdateSigningCertificateRequest object.
    `UpdateSigningCertificateRequest(java.lang.String certificateId, java.lang.String status)` Constructs a new UpdateSigningCertificateRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCertificateId()` The ID of the signing certificate you want to update.
    `java.lang.String` | `getStatus()` The status you want to assign to the certificate.
    `java.lang.String` | `getUserName()` Name of the user the signing certificate belongs to.
    `int` | `hashCode()`
    `void` | `setCertificateId(java.lang.String certificateId)` The ID of the signing certificate you want to update.
    `void` | `setStatus(StatusType status)` The status you want to assign to the certificate.
    `void` | `setStatus(java.lang.String status)` The status you want to assign to the certificate.
    `void` | `setUserName(java.lang.String userName)` Name of the user the signing certificate belongs to.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `UpdateSigningCertificateRequest` | `withCertificateId(java.lang.String certificateId)` The ID of the signing certificate you want to update.
    `UpdateSigningCertificateRequest` | `withStatus(StatusType status)` The status you want to assign to the certificate.
    `UpdateSigningCertificateRequest` | `withStatus(java.lang.String status)` The status you want to assign to the certificate.
    `UpdateSigningCertificateRequest` | `withUserName(java.lang.String userName)` Name of the user the signing certificate belongs to.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### UpdateSigningCertificateRequest

          public UpdateSigningCertificateRequest()

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

    - #### UpdateSigningCertificateRequest

          public UpdateSigningCertificateRequest(java.lang.String certificateId,
                                         java.lang.String status)

      Constructs a new UpdateSigningCertificateRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `certificateId` - The ID of the signing certificate you want to update.
        `status` - The status you want to assign to the certificate. `Active` means the certificate can be used for API calls to AWS, while `Inactive` means the certificate cannot be used.

    - #### UpdateSigningCertificateRequest

          public UpdateSigningCertificateRequest(java.lang.String certificateId,
                                         StatusType status)

      Constructs a new UpdateSigningCertificateRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `certificateId` - The ID of the signing certificate you want to update.
        `status` - The status you want to assign to the certificate. `Active` means the certificate can be used for API calls to AWS, while `Inactive` means the certificate cannot be used.

  - ### メソッドの詳細

    - #### getUserName

          public java.lang.String getUserName()

      Name of the user the signing certificate belongs to.

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

      戻り値:
        Name of the user the signing certificate belongs to.

    - #### setUserName

          public void setUserName(java.lang.String userName)

      Name of the user the signing certificate belongs to.

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

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

    - #### withUserName

          public UpdateSigningCertificateRequest withUserName(java.lang.String userName)

      Name of the user the signing certificate belongs to.

      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 belongs to.

    - #### getCertificateId

          public java.lang.String getCertificateId()

      The ID of the signing certificate you want to update.

      Constraints:
      Length: 24 - 128
      Pattern: [\w]*

      戻り値:
        The ID of the signing certificate you want to update.

    - #### setCertificateId

          public void setCertificateId(java.lang.String certificateId)

      The ID of the signing certificate you want to update.

      Constraints:
      Length: 24 - 128
      Pattern: [\w]*

      パラメータ:
        `certificateId` - The ID of the signing certificate you want to update.

    - #### withCertificateId

          public UpdateSigningCertificateRequest withCertificateId(java.lang.String certificateId)

      The ID of the signing certificate you want to update.

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

      Constraints:
      Length: 24 - 128
      Pattern: [\w]*

      パラメータ:
        `certificateId` - The ID of the signing certificate you want to update.

    - #### getStatus

          public java.lang.String getStatus()

      The status you want to assign to the certificate. `Active` means the certificate can be used for API calls to AWS, while `Inactive` means the certificate cannot be used.

      Constraints:
      Allowed Values: Active, Inactive

      戻り値:
        The status you want to assign to the certificate. `Active` means the certificate can be used for API calls to AWS, while `Inactive` means the certificate cannot be used.
      関連項目:
        `StatusType`

    - #### setStatus

          public void setStatus(java.lang.String status)

      The status you want to assign to the certificate. `Active` means the certificate can be used for API calls to AWS, while `Inactive` means the certificate cannot be used.

      Constraints:
      Allowed Values: Active, Inactive

      パラメータ:
        `status` - The status you want to assign to the certificate. `Active` means the certificate can be used for API calls to AWS, while `Inactive` means the certificate cannot be used.
      関連項目:
        `StatusType`

    - #### withStatus

          public UpdateSigningCertificateRequest withStatus(java.lang.String status)

      The status you want to assign to the certificate. `Active` means the certificate can be used for API calls to AWS, while `Inactive` means the certificate cannot be used.

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

      Constraints:
      Allowed Values: Active, Inactive

      パラメータ:
        `status` - The status you want to assign to the certificate. `Active` means the certificate can be used for API calls to AWS, while `Inactive` means the certificate cannot be used.
      関連項目:
        `StatusType`

    - #### setStatus

          public void setStatus(StatusType status)

      The status you want to assign to the certificate. `Active` means the certificate can be used for API calls to AWS, while `Inactive` means the certificate cannot be used.

      Constraints:
      Allowed Values: Active, Inactive

      パラメータ:
        `status` - The status you want to assign to the certificate. `Active` means the certificate can be used for API calls to AWS, while `Inactive` means the certificate cannot be used.
      関連項目:
        `StatusType`

    - #### withStatus

          public UpdateSigningCertificateRequest withStatus(StatusType status)

      The status you want to assign to the certificate. `Active` means the certificate can be used for API calls to AWS, while `Inactive` means the certificate cannot be used.

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

      Constraints:
      Allowed Values: Active, Inactive

      パラメータ:
        `status` - The status you want to assign to the certificate. `Active` means the certificate can be used for API calls to AWS, while `Inactive` means the certificate cannot be used.
      関連項目:
        `StatusType`

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