public class RegisterCertificateRequest extends AmazonWebServiceRequest implements java.io.Serializable
Registers a device certificate with AWS IoT. If you have more than one CA certificate that has the same subject field, you must specify the CA certificate that was used to sign the device certificate being registered.
Constructor and Description |
---|
RegisterCertificateRequest() |
Modifier and Type | Method and Description |
---|---|
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 certificate is set to active.
|
java.lang.String |
getStatus()
The status of the register certificate request.
|
int |
hashCode() |
java.lang.Boolean |
isSetAsActive()
A boolean value that specifies if the 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 certificate is set to active.
|
void |
setStatus(CertificateStatus status)
The status of the register certificate request.
|
void |
setStatus(java.lang.String status)
The status of the register certificate request.
|
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 certificate is set to active.
|
RegisterCertificateRequest |
withStatus(CertificateStatus status)
The status of the register certificate request.
|
RegisterCertificateRequest |
withStatus(java.lang.String status)
The status of the register certificate request.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getCertificatePem()
The certificate data, in PEM format.
Constraints:
Length: 1 - 65536
The certificate data, in PEM format.
public void setCertificatePem(java.lang.String certificatePem)
The certificate data, in PEM format.
Constraints:
Length: 1 - 65536
certificatePem
- The certificate data, in PEM format.
public RegisterCertificateRequest withCertificatePem(java.lang.String certificatePem)
The certificate data, in PEM format.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 65536
certificatePem
- The certificate data, in PEM format.
public java.lang.String getCaCertificatePem()
The CA certificate used to sign the device certificate being registered.
Constraints:
Length: 1 - 65536
The CA certificate used to sign the device certificate being registered.
public void setCaCertificatePem(java.lang.String caCertificatePem)
The CA certificate used to sign the device certificate being registered.
Constraints:
Length: 1 - 65536
caCertificatePem
- 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 65536
caCertificatePem
- The CA certificate used to sign the device certificate being registered.
public java.lang.Boolean isSetAsActive()
A boolean value that specifies if the certificate is set to active.
A boolean value that specifies if the certificate is set to active.
public java.lang.Boolean getSetAsActive()
A boolean value that specifies if the certificate is set to active.
A boolean value that specifies if the certificate is set to active.
public void setSetAsActive(java.lang.Boolean setAsActive)
A boolean value that specifies if the certificate is set to active.
setAsActive
- A boolean value that specifies if the certificate is set to active.
public RegisterCertificateRequest withSetAsActive(java.lang.Boolean setAsActive)
A boolean value that specifies if the certificate is set to active.
Returns a reference to this object so that method calls can be chained together.
setAsActive
- A boolean value that specifies if the certificate is set to active.
public java.lang.String getStatus()
The status of the register certificate request.
Constraints:
Allowed Values: ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER,
REGISTER_INACTIVE, PENDING_ACTIVATION
The status of the register certificate request.
CertificateStatus
public void setStatus(java.lang.String status)
The status of the register certificate request.
Constraints:
Allowed Values: ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER,
REGISTER_INACTIVE, PENDING_ACTIVATION
status
- The status of the register certificate request.
CertificateStatus
public RegisterCertificateRequest withStatus(java.lang.String status)
The status of the register certificate request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER,
REGISTER_INACTIVE, PENDING_ACTIVATION
status
- The status of the register certificate request.
CertificateStatus
public void setStatus(CertificateStatus status)
The status of the register certificate request.
Constraints:
Allowed Values: ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER,
REGISTER_INACTIVE, PENDING_ACTIVATION
status
- The status of the register certificate request.
CertificateStatus
public RegisterCertificateRequest withStatus(CertificateStatus status)
The status of the register certificate request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER,
REGISTER_INACTIVE, PENDING_ACTIVATION
status
- The status of the register certificate request.
CertificateStatus
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.