Package com.amazonaws.services.iot.model
Class RegisterCertificateRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.iot.model.RegisterCertificateRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class RegisterCertificateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input to the RegisterCertificate operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description RegisterCertificateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegisterCertificateRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetCaCertificatePem()The CA certificate used to sign the device certificate being registered.StringgetCertificatePem()The certificate data, in PEM format.BooleangetSetAsActive()A boolean value that specifies if the CA certificate is set to active.inthashCode()BooleanisSetAsActive()A boolean value that specifies if the CA certificate is set to active.voidsetCaCertificatePem(String caCertificatePem)The CA certificate used to sign the device certificate being registered.voidsetCertificatePem(String certificatePem)The certificate data, in PEM format.voidsetSetAsActive(Boolean setAsActive)A boolean value that specifies if the CA certificate is set to active.StringtoString()Returns a string representation of this object; useful for testing and debugging.RegisterCertificateRequestwithCaCertificatePem(String caCertificatePem)The CA certificate used to sign the device certificate being registered.RegisterCertificateRequestwithCertificatePem(String certificatePem)The certificate data, in PEM format.RegisterCertificateRequestwithSetAsActive(Boolean setAsActive)A boolean value that specifies if the CA certificate is set to active.-
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
-
setCertificatePem
public void setCertificatePem(String certificatePem)
The certificate data, in PEM format.
- Parameters:
certificatePem- The certificate data, in PEM format.
-
getCertificatePem
public String getCertificatePem()
The certificate data, in PEM format.
- Returns:
- The certificate data, in PEM format.
-
withCertificatePem
public RegisterCertificateRequest withCertificatePem(String certificatePem)
The certificate data, in PEM format.
- Parameters:
certificatePem- The certificate data, in PEM format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCaCertificatePem
public void setCaCertificatePem(String caCertificatePem)
The CA certificate used to sign the device certificate being registered.
- Parameters:
caCertificatePem- The CA certificate used to sign the device certificate being registered.
-
getCaCertificatePem
public String getCaCertificatePem()
The CA certificate used to sign the device certificate being registered.
- Returns:
- The CA certificate used to sign the device certificate being registered.
-
withCaCertificatePem
public RegisterCertificateRequest withCaCertificatePem(String caCertificatePem)
The CA certificate used to sign the device certificate being registered.
- Parameters:
caCertificatePem- The CA certificate used to sign the device certificate being registered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSetAsActive
public void setSetAsActive(Boolean setAsActive)
A boolean value that specifies if the CA certificate is set to active.
- Parameters:
setAsActive- A boolean value that specifies if the CA certificate is set to active.
-
getSetAsActive
public Boolean getSetAsActive()
A boolean value that specifies if the CA certificate is set to active.
- Returns:
- A boolean value that specifies if the CA certificate is set to active.
-
withSetAsActive
public RegisterCertificateRequest withSetAsActive(Boolean setAsActive)
A boolean value that specifies if the CA certificate is set to active.
- Parameters:
setAsActive- A boolean value that specifies if the CA certificate is set to active.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isSetAsActive
public Boolean isSetAsActive()
A boolean value that specifies if the CA certificate is set to active.
- Returns:
- A boolean value that specifies if the CA certificate is set to active.
-
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 RegisterCertificateRequest 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()
-
-