public class UpdateServerCertificateRequest extends AmazonWebServiceRequest implements Serializable
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.
Constructor and Description |
---|
UpdateServerCertificateRequest()
Default constructor for a new UpdateServerCertificateRequest object.
|
UpdateServerCertificateRequest(String serverCertificateName)
Constructs a new UpdateServerCertificateRequest object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public UpdateServerCertificateRequest()
public UpdateServerCertificateRequest(String serverCertificateName)
serverCertificateName
- The name of the server certificate that
you want to update.public String getServerCertificateName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setServerCertificateName(String serverCertificateName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
serverCertificateName
- The name of the server certificate that you want to update.public UpdateServerCertificateRequest withServerCertificateName(String serverCertificateName)
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.public String getNewPath()
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
public void setNewPath(String newPath)
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.public UpdateServerCertificateRequest withNewPath(String newPath)
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.public String getNewServerCertificateName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setNewServerCertificateName(String newServerCertificateName)
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.public UpdateServerCertificateRequest withNewServerCertificateName(String newServerCertificateName)
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.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.