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 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.-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateCertificateRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-