Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.identitymanagement.model
Class UpdateServerCertificateRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.identitymanagement.model.UpdateServerCertificateRequest
All Implemented Interfaces:
Serializable

public class UpdateServerCertificateRequest
extends AmazonWebServiceRequest
implements 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.

See Also:
AmazonIdentityManagement.updateServerCertificate(UpdateServerCertificateRequest), Serialized Form

Constructor Summary
UpdateServerCertificateRequest()
          Default constructor for a new UpdateServerCertificateRequest object.
UpdateServerCertificateRequest(String serverCertificateName)
          Constructs a new UpdateServerCertificateRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getNewPath()
          The new path for the server certificate.
 String getNewServerCertificateName()
          The new name for the server certificate.
 String getServerCertificateName()
          The name of the server certificate that you want to update.
 int hashCode()
           
 void setNewPath(String newPath)
          The new path for the server certificate.
 void setNewServerCertificateName(String newServerCertificateName)
          The new name for the server certificate.
 void setServerCertificateName(String serverCertificateName)
          The name of the server certificate that you want to update.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 UpdateServerCertificateRequest withNewPath(String newPath)
          The new path for the server certificate.
 UpdateServerCertificateRequest withNewServerCertificateName(String newServerCertificateName)
          The new name for the server certificate.
 UpdateServerCertificateRequest withServerCertificateName(String serverCertificateName)
          The name of the server certificate that you want to update.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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(String serverCertificateName)
Constructs a new UpdateServerCertificateRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
serverCertificateName - The name of the server certificate that you want to update.
Method Detail

getServerCertificateName

public String getServerCertificateName()
The name of the server certificate that you want to update.

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

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

setServerCertificateName

public void setServerCertificateName(String serverCertificateName)
The name of the server certificate that you want to update.

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

Parameters:
serverCertificateName - The name of the server certificate that you want to update.

withServerCertificateName

public UpdateServerCertificateRequest withServerCertificateName(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+=,.@-]*

Parameters:
serverCertificateName - The name of the server certificate that you want to update.
Returns:
A reference to this updated object so that method calls can be chained together.

getNewPath

public 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: (/)|(/[!-]+/)

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

setNewPath

public void setNewPath(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: (/)|(/[!-]+/)

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

withNewPath

public UpdateServerCertificateRequest withNewPath(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: (/)|(/[!-]+/)

Parameters:
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 updated object so that method calls can be chained together.

getNewServerCertificateName

public 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+=,.@-]*

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

setNewServerCertificateName

public void setNewServerCertificateName(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+=,.@-]*

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

withNewServerCertificateName

public UpdateServerCertificateRequest withNewServerCertificateName(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+=,.@-]*

Parameters:
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 updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.