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 RegisterCertificateRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getCaCertificatePem()
The CA certificate used to sign the device certificate being registered.String
getCertificatePem()
The certificate data, in PEM format.Boolean
getSetAsActive()
A boolean value that specifies if the CA certificate is set to active.int
hashCode()
Boolean
isSetAsActive()
A boolean value that specifies if the CA certificate is set to active.void
setCaCertificatePem(String caCertificatePem)
The CA certificate used to sign the device certificate being registered.void
setCertificatePem(String certificatePem)
The certificate data, in PEM format.void
setSetAsActive(Boolean setAsActive)
A boolean value that specifies if the CA certificate is set to active.String
toString()
Returns a string representation of this object; useful for testing and debugging.RegisterCertificateRequest
withCaCertificatePem(String caCertificatePem)
The CA certificate used to sign the device certificate being registered.RegisterCertificateRequest
withCertificatePem(String certificatePem)
The certificate data, in PEM format.RegisterCertificateRequest
withSetAsActive(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RegisterCertificateRequest 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()
-
-