Package com.amazonaws.services.iot.model
Class UpdateCACertificateRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.iot.model.UpdateCACertificateRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class UpdateCACertificateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input to the UpdateCACertificate operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateCACertificateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateCACertificateRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getCertificateId()
The CA certificate identifier.String
getNewStatus()
The updated status of the CA certificate.int
hashCode()
void
setCertificateId(String certificateId)
The CA certificate identifier.void
setNewStatus(CACertificateStatus newStatus)
The updated status of the CA certificate.void
setNewStatus(String newStatus)
The updated status of the CA certificate.String
toString()
Returns a string representation of this object; useful for testing and debugging.UpdateCACertificateRequest
withCertificateId(String certificateId)
The CA certificate identifier.UpdateCACertificateRequest
withNewStatus(CACertificateStatus newStatus)
The updated status of the CA certificate.UpdateCACertificateRequest
withNewStatus(String newStatus)
The updated status of the CA certificate.-
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 CA certificate identifier.
- Parameters:
certificateId
- The CA certificate identifier.
-
getCertificateId
public String getCertificateId()
The CA certificate identifier.
- Returns:
- The CA certificate identifier.
-
withCertificateId
public UpdateCACertificateRequest withCertificateId(String certificateId)
The CA certificate identifier.
- Parameters:
certificateId
- The CA certificate identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNewStatus
public void setNewStatus(String newStatus)
The updated status of the CA certificate.
- Parameters:
newStatus
- The updated status of the CA certificate.- See Also:
CACertificateStatus
-
getNewStatus
public String getNewStatus()
The updated status of the CA certificate.
- Returns:
- The updated status of the CA certificate.
- See Also:
CACertificateStatus
-
withNewStatus
public UpdateCACertificateRequest withNewStatus(String newStatus)
The updated status of the CA certificate.
- Parameters:
newStatus
- The updated status of the CA certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CACertificateStatus
-
setNewStatus
public void setNewStatus(CACertificateStatus newStatus)
The updated status of the CA certificate.
- Parameters:
newStatus
- The updated status of the CA certificate.- See Also:
CACertificateStatus
-
withNewStatus
public UpdateCACertificateRequest withNewStatus(CACertificateStatus newStatus)
The updated status of the CA certificate.
- Parameters:
newStatus
- The updated status of the CA certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CACertificateStatus
-
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 UpdateCACertificateRequest 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()
-
-