public class UpdateCertificateRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
The input for the UpdateCertificate operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
certificateId
The ID of the certificate.
|
private java.lang.String |
newStatus
The new status.
|
NOOP
Constructor and Description |
---|
UpdateCertificateRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateCertificateRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCertificateId()
The ID of the certificate.
|
java.lang.String |
getNewStatus()
The new status.
|
int |
hashCode() |
void |
setCertificateId(java.lang.String certificateId)
The ID of the certificate.
|
void |
setNewStatus(CertificateStatus newStatus)
The new status.
|
void |
setNewStatus(java.lang.String newStatus)
The new status.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateCertificateRequest |
withCertificateId(java.lang.String certificateId)
The ID of the certificate.
|
UpdateCertificateRequest |
withNewStatus(CertificateStatus newStatus)
The new status.
|
UpdateCertificateRequest |
withNewStatus(java.lang.String newStatus)
The new status.
|
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 certificateId
The ID of the certificate.
private java.lang.String newStatus
The new status.
Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.
public void setCertificateId(java.lang.String certificateId)
The ID of the certificate.
certificateId
- The ID of the certificate.public java.lang.String getCertificateId()
The ID of the certificate.
public UpdateCertificateRequest withCertificateId(java.lang.String certificateId)
The ID of the certificate.
certificateId
- The ID of the certificate.public void setNewStatus(java.lang.String newStatus)
The new status.
Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.
newStatus
- The new status.
Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.
CertificateStatus
public java.lang.String getNewStatus()
The new status.
Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.
Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.
CertificateStatus
public UpdateCertificateRequest withNewStatus(java.lang.String newStatus)
The new status.
Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.
newStatus
- The new status.
Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.
CertificateStatus
public void setNewStatus(CertificateStatus newStatus)
The new status.
Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.
newStatus
- The new status.
Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.
CertificateStatus
public UpdateCertificateRequest withNewStatus(CertificateStatus newStatus)
The new status.
Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.
newStatus
- The new status.
Note: Setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT. It is not intended for developer use.
CertificateStatus
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 UpdateCertificateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()