com.amazonaws.services.identitymanagement.model

## クラス UpdateServerCertificateRequest

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

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

      public class UpdateServerCertificateRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `UpdateServerCertificate operation`.

  Updates the name and/or the path of the specified server certificate.

  IMPORTANT: You should understand the implications of changing a server certificate's path or name. For more information, see Managing Server Certificates in Using AWS Identity and Access Management.

  NOTE:To change a server certificate name the requester must have appropriate permissions on both the source object and the target object. For example, to change the name from ProductionCert to ProdCert, the entity making the request must have permission on ProductionCert and ProdCert, or must have permission on all (*). For more information about permissions, see Permissions and Policies.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getNewPath()` The new path for the server certificate.
    `java.lang.String` | `getNewServerCertificateName()` The new name for the server certificate.
    `java.lang.String` | `getServerCertificateName()` The name of the server certificate that you want to update.
    `int` | `hashCode()`
    `void` | `setNewPath(java.lang.String newPath)` The new path for the server certificate.
    `void` | `setNewServerCertificateName(java.lang.String newServerCertificateName)` The new name for the server certificate.
    `void` | `setServerCertificateName(java.lang.String serverCertificateName)` The name of the server certificate that you want to update.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `UpdateServerCertificateRequest` | `withNewPath(java.lang.String newPath)` The new path for the server certificate.
    `UpdateServerCertificateRequest` | `withNewServerCertificateName(java.lang.String newServerCertificateName)` The new name for the server certificate.
    `UpdateServerCertificateRequest` | `withServerCertificateName(java.lang.String serverCertificateName)` The name of the server certificate that you want to update.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### UpdateServerCertificateRequest

          public UpdateServerCertificateRequest()

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

    - #### UpdateServerCertificateRequest

          public UpdateServerCertificateRequest(java.lang.String serverCertificateName)

      Constructs a new UpdateServerCertificateRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `serverCertificateName` - The name of the server certificate that you want to update.

  - ### メソッドの詳細

    - #### getServerCertificateName

          public java.lang.String getServerCertificateName()

      The name of the server certificate that you want to update.

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

      戻り値:
        The name of the server certificate that you want to update.

    - #### setServerCertificateName

          public void setServerCertificateName(java.lang.String serverCertificateName)

      The name of the server certificate that you want to update.

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

      パラメータ:
        `serverCertificateName` - The name of the server certificate that you want to update.

    - #### withServerCertificateName

          public UpdateServerCertificateRequest withServerCertificateName(java.lang.String serverCertificateName)

      The name of the server certificate that you want to update.

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

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

      パラメータ:
        `serverCertificateName` - The name of the server certificate that you want to update.

    - #### getNewPath

          public java.lang.String getNewPath()

      The new path for the server certificate. Include this only if you are updating the server certificate's path.

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

      戻り値:
        The new path for the server certificate. Include this only if you are updating the server certificate's path.

    - #### setNewPath

          public void setNewPath(java.lang.String newPath)

      The new path for the server certificate. Include this only if you are updating the server certificate's path.

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

      パラメータ:
        `newPath` - The new path for the server certificate. Include this only if you are updating the server certificate's path.

    - #### withNewPath

          public UpdateServerCertificateRequest withNewPath(java.lang.String newPath)

      The new path for the server certificate. Include this only if you are updating the server certificate's path.

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

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

      パラメータ:
        `newPath` - The new path for the server certificate. Include this only if you are updating the server certificate's path.

    - #### getNewServerCertificateName

          public java.lang.String getNewServerCertificateName()

      The new name for the server certificate. Include this only if you are updating the server certificate's name.

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

      戻り値:
        The new name for the server certificate. Include this only if you are updating the server certificate's name.

    - #### setNewServerCertificateName

          public void setNewServerCertificateName(java.lang.String newServerCertificateName)

      The new name for the server certificate. Include this only if you are updating the server certificate's name.

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

      パラメータ:
        `newServerCertificateName` - The new name for the server certificate. Include this only if you are updating the server certificate's name.

    - #### withNewServerCertificateName

          public UpdateServerCertificateRequest withNewServerCertificateName(java.lang.String newServerCertificateName)

      The new name for the server certificate. Include this only if you are updating the server certificate's name.

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

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

      パラメータ:
        `newServerCertificateName` - The new name for the server certificate. Include this only if you are updating the server certificate's name.

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