public class RegisterCACertificateRequest extends AmazonWebServiceRequest implements Serializable
Registers a CA certificate with AWS IoT. This CA certificate can then be used to sign device certificates, which can be then registered with AWS IoT. You can register up to 10 CA certificates per AWS account that have the same subject field and public key. This enables you to have up to 10 certificate authorities sign your device certificates. If you have more than one CA certificate registered, make sure you pass the CA certificate when you register your device certificates with the RegisterCertificate API.
| Constructor and Description |
|---|
RegisterCACertificateRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getAllowAutoRegistration()
Allows this CA certificate to be used for auto registration of device
certificates.
|
String |
getCaCertificate()
The CA certificate.
|
Boolean |
getSetAsActive()
A boolean value that specifies if the CA certificate is set to active.
|
String |
getVerificationCertificate()
The private key verification certificate.
|
int |
hashCode() |
Boolean |
isAllowAutoRegistration()
Allows this CA certificate to be used for auto registration of device
certificates.
|
Boolean |
isSetAsActive()
A boolean value that specifies if the CA certificate is set to active.
|
void |
setAllowAutoRegistration(Boolean allowAutoRegistration)
Allows this CA certificate to be used for auto registration of device
certificates.
|
void |
setCaCertificate(String caCertificate)
The CA certificate.
|
void |
setSetAsActive(Boolean setAsActive)
A boolean value that specifies if the CA certificate is set to active.
|
void |
setVerificationCertificate(String verificationCertificate)
The private key verification certificate.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RegisterCACertificateRequest |
withAllowAutoRegistration(Boolean allowAutoRegistration)
Allows this CA certificate to be used for auto registration of device
certificates.
|
RegisterCACertificateRequest |
withCaCertificate(String caCertificate)
The CA certificate.
|
RegisterCACertificateRequest |
withSetAsActive(Boolean setAsActive)
A boolean value that specifies if the CA certificate is set to active.
|
RegisterCACertificateRequest |
withVerificationCertificate(String verificationCertificate)
The private key verification certificate.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getCaCertificate()
The CA certificate.
Constraints:
Length: 1 - 65536
The CA certificate.
public void setCaCertificate(String caCertificate)
The CA certificate.
Constraints:
Length: 1 - 65536
caCertificate - The CA certificate.
public RegisterCACertificateRequest withCaCertificate(String caCertificate)
The CA certificate.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 65536
caCertificate - The CA certificate.
public String getVerificationCertificate()
The private key verification certificate.
Constraints:
Length: 1 - 65536
The private key verification certificate.
public void setVerificationCertificate(String verificationCertificate)
The private key verification certificate.
Constraints:
Length: 1 - 65536
verificationCertificate - The private key verification certificate.
public RegisterCACertificateRequest withVerificationCertificate(String verificationCertificate)
The private key verification certificate.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 65536
verificationCertificate - The private key verification certificate.
public Boolean isSetAsActive()
A boolean value that specifies if the CA certificate is set to active.
A boolean value that specifies if the CA certificate is set to active.
public Boolean getSetAsActive()
A boolean value that specifies if the CA certificate is set to active.
A boolean value that specifies if the CA certificate is set to active.
public void setSetAsActive(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 RegisterCACertificateRequest withSetAsActive(Boolean setAsActive)
A boolean value that specifies if the CA 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 CA certificate is set to active.
public Boolean isAllowAutoRegistration()
Allows this CA certificate to be used for auto registration of device certificates.
Allows this CA certificate to be used for auto registration of device certificates.
public Boolean getAllowAutoRegistration()
Allows this CA certificate to be used for auto registration of device certificates.
Allows this CA certificate to be used for auto registration of device certificates.
public void setAllowAutoRegistration(Boolean allowAutoRegistration)
Allows this CA certificate to be used for auto registration of device certificates.
allowAutoRegistration - Allows this CA certificate to be used for auto registration of device certificates.
public RegisterCACertificateRequest withAllowAutoRegistration(Boolean allowAutoRegistration)
Allows this CA certificate to be used for auto registration of device certificates.
Returns a reference to this object so that method calls can be chained together.
allowAutoRegistration - Allows this CA certificate to be used for auto registration of device certificates.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.