public class UpdateSigningCertificateRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
certificateId
The ID of the signing certificate you want to update.
|
private java.lang.String |
status
The status you want to assign to the certificate.
|
private java.lang.String |
userName
The name of the IAM user the signing certificate belongs to.
|
NOOP
Constructor and Description |
---|
UpdateSigningCertificateRequest()
Default constructor for UpdateSigningCertificateRequest object.
|
UpdateSigningCertificateRequest(java.lang.String certificateId,
StatusType status)
Constructs a new UpdateSigningCertificateRequest object.
|
UpdateSigningCertificateRequest(java.lang.String certificateId,
java.lang.String status)
Constructs a new UpdateSigningCertificateRequest object.
|
Modifier and Type | Method and Description |
---|---|
UpdateSigningCertificateRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCertificateId()
The ID of the signing certificate you want to update.
|
java.lang.String |
getStatus()
The status you want to assign to the certificate.
|
java.lang.String |
getUserName()
The name of the IAM user the signing certificate belongs to.
|
int |
hashCode() |
void |
setCertificateId(java.lang.String certificateId)
The ID of the signing certificate you want to update.
|
void |
setStatus(StatusType status)
The status you want to assign to the certificate.
|
void |
setStatus(java.lang.String status)
The status you want to assign to the certificate.
|
void |
setUserName(java.lang.String userName)
The name of the IAM user the signing certificate belongs to.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateSigningCertificateRequest |
withCertificateId(java.lang.String certificateId)
The ID of the signing certificate you want to update.
|
UpdateSigningCertificateRequest |
withStatus(StatusType status)
The status you want to assign to the certificate.
|
UpdateSigningCertificateRequest |
withStatus(java.lang.String status)
The status you want to assign to the certificate.
|
UpdateSigningCertificateRequest |
withUserName(java.lang.String userName)
The name of the IAM user the signing certificate belongs to.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String userName
The name of the IAM user the signing certificate belongs to.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
private java.lang.String certificateId
The ID of the signing certificate you want to update.
The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
private java.lang.String status
The status you want to assign to the certificate. Active
means the certificate can be used for API calls to AWS, while
Inactive
means the certificate cannot be used.
public UpdateSigningCertificateRequest()
public UpdateSigningCertificateRequest(java.lang.String certificateId, java.lang.String status)
certificateId
- The ID of the signing certificate you want to update.
The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
status
- The status you want to assign to the certificate.
Active
means the certificate can be used for API
calls to AWS, while Inactive
means the certificate
cannot be used.public UpdateSigningCertificateRequest(java.lang.String certificateId, StatusType status)
certificateId
- The ID of the signing certificate you want to update.
The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
status
- The status you want to assign to the certificate.
Active
means the certificate can be used for API
calls to AWS, while Inactive
means the certificate
cannot be used.public void setUserName(java.lang.String userName)
The name of the IAM user the signing certificate belongs to.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
userName
- The name of the IAM user the signing certificate belongs to.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public java.lang.String getUserName()
The name of the IAM user the signing certificate belongs to.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public UpdateSigningCertificateRequest withUserName(java.lang.String userName)
The name of the IAM user the signing certificate belongs to.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
userName
- The name of the IAM user the signing certificate belongs to.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
public void setCertificateId(java.lang.String certificateId)
The ID of the signing certificate you want to update.
The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
certificateId
- The ID of the signing certificate you want to update.
The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
public java.lang.String getCertificateId()
The ID of the signing certificate you want to update.
The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
public UpdateSigningCertificateRequest withCertificateId(java.lang.String certificateId)
The ID of the signing certificate you want to update.
The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
certificateId
- The ID of the signing certificate you want to update.
The regex pattern for this parameter is a string of characters that can consist of any upper or lowercased letter or digit.
public void setStatus(java.lang.String status)
The status you want to assign to the certificate. Active
means the certificate can be used for API calls to AWS, while
Inactive
means the certificate cannot be used.
status
- The status you want to assign to the certificate.
Active
means the certificate can be used for API
calls to AWS, while Inactive
means the certificate
cannot be used.StatusType
public java.lang.String getStatus()
The status you want to assign to the certificate. Active
means the certificate can be used for API calls to AWS, while
Inactive
means the certificate cannot be used.
Active
means the certificate can be used for API
calls to AWS, while Inactive
means the certificate
cannot be used.StatusType
public UpdateSigningCertificateRequest withStatus(java.lang.String status)
The status you want to assign to the certificate. Active
means the certificate can be used for API calls to AWS, while
Inactive
means the certificate cannot be used.
status
- The status you want to assign to the certificate.
Active
means the certificate can be used for API
calls to AWS, while Inactive
means the certificate
cannot be used.StatusType
public void setStatus(StatusType status)
The status you want to assign to the certificate. Active
means the certificate can be used for API calls to AWS, while
Inactive
means the certificate cannot be used.
status
- The status you want to assign to the certificate.
Active
means the certificate can be used for API
calls to AWS, while Inactive
means the certificate
cannot be used.StatusType
public UpdateSigningCertificateRequest withStatus(StatusType status)
The status you want to assign to the certificate. Active
means the certificate can be used for API calls to AWS, while
Inactive
means the certificate cannot be used.
status
- The status you want to assign to the certificate.
Active
means the certificate can be used for API
calls to AWS, while Inactive
means the certificate
cannot be used.StatusType
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateSigningCertificateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()