public class RegisterCertificateRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
The input to the RegisterCertificate operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
caCertificatePem
The CA certificate used to sign the device certificate being registered.
|
private java.lang.String |
certificatePem
The certificate data, in PEM format.
|
private java.lang.Boolean |
setAsActive
A boolean value that specifies if the CA certificate is set to active.
|
NOOP
Constructor and Description |
---|
RegisterCertificateRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterCertificateRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCaCertificatePem()
The CA certificate used to sign the device certificate being registered.
|
java.lang.String |
getCertificatePem()
The certificate data, in PEM format.
|
java.lang.Boolean |
getSetAsActive()
A boolean value that specifies if the CA certificate is set to active.
|
int |
hashCode() |
java.lang.Boolean |
isSetAsActive()
A boolean value that specifies if the CA certificate is set to active.
|
void |
setCaCertificatePem(java.lang.String caCertificatePem)
The CA certificate used to sign the device certificate being registered.
|
void |
setCertificatePem(java.lang.String certificatePem)
The certificate data, in PEM format.
|
void |
setSetAsActive(java.lang.Boolean setAsActive)
A boolean value that specifies if the CA certificate is set to active.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RegisterCertificateRequest |
withCaCertificatePem(java.lang.String caCertificatePem)
The CA certificate used to sign the device certificate being registered.
|
RegisterCertificateRequest |
withCertificatePem(java.lang.String certificatePem)
The certificate data, in PEM format.
|
RegisterCertificateRequest |
withSetAsActive(java.lang.Boolean setAsActive)
A boolean value that specifies if the CA certificate is set to active.
|
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
private java.lang.String certificatePem
The certificate data, in PEM format.
private java.lang.String caCertificatePem
The CA certificate used to sign the device certificate being registered.
private java.lang.Boolean setAsActive
A boolean value that specifies if the CA certificate is set to active.
public void setCertificatePem(java.lang.String certificatePem)
The certificate data, in PEM format.
certificatePem
- The certificate data, in PEM format.public java.lang.String getCertificatePem()
The certificate data, in PEM format.
public RegisterCertificateRequest withCertificatePem(java.lang.String certificatePem)
The certificate data, in PEM format.
certificatePem
- The certificate data, in PEM format.public void setCaCertificatePem(java.lang.String caCertificatePem)
The CA certificate used to sign the device certificate being registered.
caCertificatePem
- The CA certificate used to sign the device certificate being
registered.public java.lang.String getCaCertificatePem()
The CA certificate used to sign the device certificate being registered.
public RegisterCertificateRequest withCaCertificatePem(java.lang.String caCertificatePem)
The CA certificate used to sign the device certificate being registered.
caCertificatePem
- The CA certificate used to sign the device certificate being
registered.public void setSetAsActive(java.lang.Boolean setAsActive)
A boolean value that specifies if the CA certificate is set to active.
setAsActive
- A boolean value that specifies if the CA certificate is set to
active.public java.lang.Boolean getSetAsActive()
A boolean value that specifies if the CA certificate is set to active.
public RegisterCertificateRequest withSetAsActive(java.lang.Boolean setAsActive)
A boolean value that specifies if the CA certificate is set to active.
setAsActive
- A boolean value that specifies if the CA certificate is set to
active.public java.lang.Boolean isSetAsActive()
A boolean value that specifies if the CA certificate is set to active.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RegisterCertificateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()