com.amazonaws.services.identitymanagement.model

## クラス ServerCertificate

- java.lang.Object
- - com.amazonaws.services.identitymanagement.model.ServerCertificate

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

      public class ServerCertificate
      extends java.lang.Object
      implements java.io.Serializable

  The ServerCertificate data type contains information about a server certificate.

  This data type is used as a response element in the action GetServerCertificate.

  関連項目:
    直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getCertificateBody()` The contents of the public key certificate.
    `java.lang.String` | `getCertificateChain()` The contents of the public key certificate chain.
    `ServerCertificateMetadata` | `getServerCertificateMetadata()` The meta information of the server certificate, such as its name, path, ID, and ARN.
    `int` | `hashCode()`
    `void` | `setCertificateBody(java.lang.String certificateBody)` The contents of the public key certificate.
    `void` | `setCertificateChain(java.lang.String certificateChain)` The contents of the public key certificate chain.
    `void` | `setServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)` The meta information of the server certificate, such as its name, path, ID, and ARN.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `ServerCertificate` | `withCertificateBody(java.lang.String certificateBody)` The contents of the public key certificate.
    `ServerCertificate` | `withCertificateChain(java.lang.String certificateChain)` The contents of the public key certificate chain.
    `ServerCertificate` | `withServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)` The meta information of the server certificate, such as its name, path, ID, and ARN.

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

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

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

    - #### ServerCertificate

          public ServerCertificate()

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

    - #### ServerCertificate

          public ServerCertificate(ServerCertificateMetadata serverCertificateMetadata,
                           java.lang.String certificateBody)

      Constructs a new ServerCertificate object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `serverCertificateMetadata` - The meta information of the server certificate, such as its name, path, ID, and ARN.
        `certificateBody` - The contents of the public key certificate.

  - ### メソッドの詳細

    - #### getServerCertificateMetadata

          public ServerCertificateMetadata getServerCertificateMetadata()

      The meta information of the server certificate, such as its name, path, ID, and ARN.
      戻り値:
        The meta information of the server certificate, such as its name, path, ID, and ARN.

    - #### setServerCertificateMetadata

          public void setServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)

      The meta information of the server certificate, such as its name, path, ID, and ARN.
      パラメータ:
        `serverCertificateMetadata` - The meta information of the server certificate, such as its name, path, ID, and ARN.

    - #### withServerCertificateMetadata

          public ServerCertificate withServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)

      The meta information of the server certificate, such as its name, path, ID, and ARN.

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

      パラメータ:
        `serverCertificateMetadata` - The meta information of the server certificate, such as its name, path, ID, and ARN.

    - #### getCertificateBody

          public java.lang.String getCertificateBody()

      The contents of the public key certificate.

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

      戻り値:
        The contents of the public key certificate.

    - #### setCertificateBody

          public void setCertificateBody(java.lang.String certificateBody)

      The contents of the public key certificate.

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

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

    - #### withCertificateBody

          public ServerCertificate withCertificateBody(java.lang.String certificateBody)

      The contents of the public key 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 public key certificate.

    - #### getCertificateChain

          public java.lang.String getCertificateChain()

      The contents of the public key certificate chain.

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

      戻り値:
        The contents of the public key certificate chain.

    - #### setCertificateChain

          public void setCertificateChain(java.lang.String certificateChain)

      The contents of the public key certificate chain.

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

      パラメータ:
        `certificateChain` - The contents of the public key certificate chain.

    - #### withCertificateChain

          public ServerCertificate withCertificateChain(java.lang.String certificateChain)

      The contents of the public key certificate 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 public key certificate 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`