public class UpdateCertificateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the UpdateCertificate operation.
NOOP
Constructor and Description |
---|
UpdateCertificateRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateCertificateRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getCertificateId()
The ID of the certificate.
|
String |
getNewStatus()
The new status.
|
int |
hashCode() |
void |
setCertificateId(String certificateId)
The ID of the certificate.
|
void |
setNewStatus(CertificateStatus newStatus)
The new status.
|
void |
setNewStatus(String newStatus)
The new status.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateCertificateRequest |
withCertificateId(String certificateId)
The ID of the certificate.
|
UpdateCertificateRequest |
withNewStatus(CertificateStatus newStatus)
The new status.
|
UpdateCertificateRequest |
withNewStatus(String newStatus)
The new status.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCertificateId(String certificateId)
The ID of the certificate.
certificateId
- The ID of the certificate.public String getCertificateId()
The ID of the certificate.
public UpdateCertificateRequest withCertificateId(String certificateId)
The ID of the certificate.
certificateId
- The ID of the certificate.public void setNewStatus(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 and is not meant to be used by developers.
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 and is not meant to be used by developers.
CertificateStatus
public 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 and is not meant to be used by developers.
Note: setting the status to PENDING_TRANSFER will result in an exception being thrown. PENDING_TRANSFER is a status used internally by AWS IoT and is not meant to be used by developers.
CertificateStatus
public UpdateCertificateRequest withNewStatus(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 and is not meant to be used by developers.
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 and is not meant to be used by developers.
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 and is not meant to be used by developers.
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 and is not meant to be used by developers.
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 and is not meant to be used by developers.
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 and is not meant to be used by developers.
CertificateStatus
public String toString()
toString
in class Object
Object.toString()
public UpdateCertificateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.