Class UpdateCertificateRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.iot.model.UpdateCertificateRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class UpdateCertificateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the UpdateCertificate operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateCertificateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateCertificateRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetCertificateId()The ID of the certificate.StringgetNewStatus()The new status.inthashCode()voidsetCertificateId(String certificateId)The ID of the certificate.voidsetNewStatus(CertificateStatus newStatus)The new status.voidsetNewStatus(String newStatus)The new status.StringtoString()Returns a string representation of this object; useful for testing and debugging.UpdateCertificateRequestwithCertificateId(String certificateId)The ID of the certificate.UpdateCertificateRequestwithNewStatus(CertificateStatus newStatus)The new status.UpdateCertificateRequestwithNewStatus(String newStatus)The new status.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setCertificateId
public void setCertificateId(String certificateId)
The ID of the certificate.
- Parameters:
certificateId- The ID of the certificate.
-
getCertificateId
public String getCertificateId()
The ID of the certificate.
- Returns:
- The ID of the certificate.
-
withCertificateId
public UpdateCertificateRequest withCertificateId(String certificateId)
The ID of the certificate.
- Parameters:
certificateId- The ID of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNewStatus
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. It is not intended for developer use.
- Parameters:
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.
- See Also:
CertificateStatus
-
getNewStatus
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. It is not intended for developer use.
- Returns:
- 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.
- See Also:
CertificateStatus
-
withNewStatus
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. It is not intended for developer use.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CertificateStatus
-
setNewStatus
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.
- Parameters:
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.
- See Also:
CertificateStatus
-
withNewStatus
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CertificateStatus
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateCertificateRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-