@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
UpdateCertificateRequest |
withCertificateId(String certificateId)
The ID of the certificate.
|
UpdateCertificateRequest |
withNewStatus(CertificateStatus newStatus)
The new status.
|
UpdateCertificateRequest |
withNewStatus(String newStatus)
The new status.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCertificateId(String certificateId)
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
certificateId
- The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)public String getCertificateId()
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
public UpdateCertificateRequest withCertificateId(String certificateId)
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
certificateId
- The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)public void setNewStatus(String newStatus)
The new status.
Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
newStatus
- The new status.
Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
CertificateStatus
public String getNewStatus()
The new status.
Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
CertificateStatus
public UpdateCertificateRequest withNewStatus(String newStatus)
The new status.
Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
newStatus
- The new status.
Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
CertificateStatus
public void setNewStatus(CertificateStatus newStatus)
The new status.
Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
newStatus
- The new status.
Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
CertificateStatus
public UpdateCertificateRequest withNewStatus(CertificateStatus newStatus)
The new status.
Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
newStatus
- The new status.
Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
CertificateStatus
public String toString()
toString
in class Object
Object.toString()
public UpdateCertificateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()