com.amazonaws.services.identitymanagement.model

## クラス UploadServerCertificateRequest

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

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

      public class UploadServerCertificateRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `UploadServerCertificate operation`.

  Uploads a server certificate entity for the AWS account. The server certificate entity includes a public key certificate, a private key, and an optional certificate chain, which should all be PEM-encoded.

  For information about the number of server certificates you can upload, see Limitations on IAM Entities in Using AWS Identity and Access Management .

  NOTE:Because the body of the public key certificate, private key, and the certificate chain can be large, you should use POST rather than GET when calling UploadServerCertificate. 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.uploadServerCertificate(UploadServerCertificateRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCertificateBody()` The contents of the public key certificate in PEM-encoded format.
    `java.lang.String` | `getCertificateChain()` The contents of the certificate chain.
    `java.lang.String` | `getPath()` The path for the server certificate.
    `java.lang.String` | `getPrivateKey()` The contents of the private key in PEM-encoded format.
    `java.lang.String` | `getServerCertificateName()` The name for the server certificate.
    `int` | `hashCode()`
    `void` | `setCertificateBody(java.lang.String certificateBody)` The contents of the public key certificate in PEM-encoded format.
    `void` | `setCertificateChain(java.lang.String certificateChain)` The contents of the certificate chain.
    `void` | `setPath(java.lang.String path)` The path for the server certificate.
    `void` | `setPrivateKey(java.lang.String privateKey)` The contents of the private key in PEM-encoded format.
    `void` | `setServerCertificateName(java.lang.String serverCertificateName)` The name for the server certificate.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `UploadServerCertificateRequest` | `withCertificateBody(java.lang.String certificateBody)` The contents of the public key certificate in PEM-encoded format.
    `UploadServerCertificateRequest` | `withCertificateChain(java.lang.String certificateChain)` The contents of the certificate chain.
    `UploadServerCertificateRequest` | `withPath(java.lang.String path)` The path for the server certificate.
    `UploadServerCertificateRequest` | `withPrivateKey(java.lang.String privateKey)` The contents of the private key in PEM-encoded format.
    `UploadServerCertificateRequest` | `withServerCertificateName(java.lang.String serverCertificateName)` The name for the server certificate.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### UploadServerCertificateRequest

          public UploadServerCertificateRequest()

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

    - #### UploadServerCertificateRequest

          public UploadServerCertificateRequest(java.lang.String serverCertificateName,
                                        java.lang.String certificateBody,
                                        java.lang.String privateKey)

      Constructs a new UploadServerCertificateRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `serverCertificateName` - The name for the server certificate. Do not include the path in this value.
        `certificateBody` - The contents of the public key certificate in PEM-encoded format.
        `privateKey` - The contents of the private key in PEM-encoded format.

  - ### メソッドの詳細

    - #### getPath

          public java.lang.String getPath()

      The path for the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

      This parameter is optional. If it is not included, it defaults to a slash (/).

      Constraints:
      Length: 1 - 512
      Pattern: (/)|(/[!-]+/)

      戻り値:
        The path for the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

        This parameter is optional. If it is not included, it defaults to a slash (/).

    - #### setPath

          public void setPath(java.lang.String path)

      The path for the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

      This parameter is optional. If it is not included, it defaults to a slash (/).

      Constraints:
      Length: 1 - 512
      Pattern: (/)|(/[!-]+/)

      パラメータ:
        `path` - The path for the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

        This parameter is optional. If it is not included, it defaults to a slash (/).

    - #### withPath

          public UploadServerCertificateRequest withPath(java.lang.String path)

      The path for the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

      This parameter is optional. If it is not included, it defaults to a slash (/).

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

      Constraints:
      Length: 1 - 512
      Pattern: (/)|(/[!-]+/)

      パラメータ:
        `path` - The path for the server certificate. For more information about paths, see Identifiers for IAM Entities in Using AWS Identity and Access Management.

        This parameter is optional. If it is not included, it defaults to a slash (/).

    - #### getServerCertificateName

          public java.lang.String getServerCertificateName()

      The name for the server certificate. Do not include the path in this value.

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

      戻り値:
        The name for the server certificate. Do not include the path in this value.

    - #### setServerCertificateName

          public void setServerCertificateName(java.lang.String serverCertificateName)

      The name for the server certificate. Do not include the path in this value.

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

      パラメータ:
        `serverCertificateName` - The name for the server certificate. Do not include the path in this value.

    - #### withServerCertificateName

          public UploadServerCertificateRequest withServerCertificateName(java.lang.String serverCertificateName)

      The name for the server certificate. Do not include the path in this value.

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

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

      パラメータ:
        `serverCertificateName` - The name for the server certificate. Do not include the path in this value.

    - #### getCertificateBody

          public java.lang.String getCertificateBody()

      The contents of the public key certificate in PEM-encoded format.

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

      戻り値:
        The contents of the public key certificate in PEM-encoded format.

    - #### setCertificateBody

          public void setCertificateBody(java.lang.String certificateBody)

      The contents of the public key certificate in PEM-encoded format.

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

      パラメータ:
        `certificateBody` - The contents of the public key certificate in PEM-encoded format.

    - #### withCertificateBody

          public UploadServerCertificateRequest withCertificateBody(java.lang.String certificateBody)

      The contents of the public key certificate in PEM-encoded format.

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

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

      パラメータ:
        `certificateBody` - The contents of the public key certificate in PEM-encoded format.

    - #### getPrivateKey

          public java.lang.String getPrivateKey()

      The contents of the private key in PEM-encoded format.

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

      戻り値:
        The contents of the private key in PEM-encoded format.

    - #### setPrivateKey

          public void setPrivateKey(java.lang.String privateKey)

      The contents of the private key in PEM-encoded format.

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

      パラメータ:
        `privateKey` - The contents of the private key in PEM-encoded format.

    - #### withPrivateKey

          public UploadServerCertificateRequest withPrivateKey(java.lang.String privateKey)

      The contents of the private key in PEM-encoded format.

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

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

      パラメータ:
        `privateKey` - The contents of the private key in PEM-encoded format.

    - #### getCertificateChain

          public java.lang.String getCertificateChain()

      The contents of the certificate chain. This is typically a concatenation of the PEM-encoded public key certificates of the chain.

      Constraints:
      Length: 1 - 2097152
      Pattern: [ -ÿ]*

      戻り値:
        The contents of the certificate chain. This is typically a concatenation of the PEM-encoded public key certificates of the chain.

    - #### setCertificateChain

          public void setCertificateChain(java.lang.String certificateChain)

      The contents of the certificate chain. This is typically a concatenation of the PEM-encoded public key certificates of the chain.

      Constraints:
      Length: 1 - 2097152
      Pattern: [ -ÿ]*

      パラメータ:
        `certificateChain` - The contents of the certificate chain. This is typically a concatenation of the PEM-encoded public key certificates of the chain.

    - #### withCertificateChain

          public UploadServerCertificateRequest withCertificateChain(java.lang.String certificateChain)

      The contents of the certificate chain. This is typically a concatenation of the PEM-encoded public key certificates of the chain.

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

      Constraints:
      Length: 1 - 2097152
      Pattern: [ -ÿ]*

      パラメータ:
        `certificateChain` - The contents of the certificate chain. This is typically a concatenation of the PEM-encoded public key certificates of the chain.

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