public class RegisterCACertificateRequest extends AmazonWebServiceRequest implements java.io.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. 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(java.lang.Object obj) |
java.lang.Boolean |
getAllowAutoRegistration()
Allows this CA certificate to be used for auto registration of device
certificates.
|
java.lang.String |
getCaCertificate()
The CA certificate.
|
RegistrationConfig |
getRegistrationConfig()
Information about the registration configuration.
|
java.lang.Boolean |
getSetAsActive()
A boolean value that specifies if the CA certificate is set to active.
|
java.util.List<Tag> |
getTags()
Metadata which can be used to manage the CA certificate.
|
java.lang.String |
getVerificationCertificate()
The private key verification certificate.
|
int |
hashCode() |
java.lang.Boolean |
isAllowAutoRegistration()
Allows this CA certificate to be used for auto registration of device
certificates.
|
java.lang.Boolean |
isSetAsActive()
A boolean value that specifies if the CA certificate is set to active.
|
void |
setAllowAutoRegistration(java.lang.Boolean allowAutoRegistration)
Allows this CA certificate to be used for auto registration of device
certificates.
|
void |
setCaCertificate(java.lang.String caCertificate)
The CA certificate.
|
void |
setRegistrationConfig(RegistrationConfig registrationConfig)
Information about the registration configuration.
|
void |
setSetAsActive(java.lang.Boolean setAsActive)
A boolean value that specifies if the CA certificate is set to active.
|
void |
setTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the CA certificate.
|
void |
setVerificationCertificate(java.lang.String verificationCertificate)
The private key verification certificate.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RegisterCACertificateRequest |
withAllowAutoRegistration(java.lang.Boolean allowAutoRegistration)
Allows this CA certificate to be used for auto registration of device
certificates.
|
RegisterCACertificateRequest |
withCaCertificate(java.lang.String caCertificate)
The CA certificate.
|
RegisterCACertificateRequest |
withRegistrationConfig(RegistrationConfig registrationConfig)
Information about the registration configuration.
|
RegisterCACertificateRequest |
withSetAsActive(java.lang.Boolean setAsActive)
A boolean value that specifies if the CA certificate is set to active.
|
RegisterCACertificateRequest |
withTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the CA certificate.
|
RegisterCACertificateRequest |
withTags(Tag... tags)
Metadata which can be used to manage the CA certificate.
|
RegisterCACertificateRequest |
withVerificationCertificate(java.lang.String verificationCertificate)
The private key verification certificate.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getCaCertificate()
The CA certificate.
Constraints:
Length: 1 - 65536
The CA certificate.
public void setCaCertificate(java.lang.String caCertificate)
The CA certificate.
Constraints:
Length: 1 - 65536
caCertificate
- The CA certificate.
public RegisterCACertificateRequest withCaCertificate(java.lang.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 java.lang.String getVerificationCertificate()
The private key verification certificate.
Constraints:
Length: 1 - 65536
The private key verification certificate.
public void setVerificationCertificate(java.lang.String verificationCertificate)
The private key verification certificate.
Constraints:
Length: 1 - 65536
verificationCertificate
- The private key verification certificate.
public RegisterCACertificateRequest withVerificationCertificate(java.lang.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 java.lang.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 java.lang.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(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 RegisterCACertificateRequest withSetAsActive(java.lang.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 java.lang.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 java.lang.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(java.lang.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(java.lang.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 RegistrationConfig getRegistrationConfig()
Information about the registration configuration.
Information about the registration configuration.
public void setRegistrationConfig(RegistrationConfig registrationConfig)
Information about the registration configuration.
registrationConfig
- Information about the registration configuration.
public RegisterCACertificateRequest withRegistrationConfig(RegistrationConfig registrationConfig)
Information about the registration configuration.
Returns a reference to this object so that method calls can be chained together.
registrationConfig
- Information about the registration configuration.
public java.util.List<Tag> getTags()
Metadata which can be used to manage the CA certificate.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Metadata which can be used to manage the CA certificate.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public void setTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the CA certificate.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
tags
- Metadata which can be used to manage the CA certificate.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public RegisterCACertificateRequest withTags(Tag... tags)
Metadata which can be used to manage the CA certificate.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Returns a reference to this object so that method calls can be chained together.
tags
- Metadata which can be used to manage the CA certificate.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
public RegisterCACertificateRequest withTags(java.util.Collection<Tag> tags)
Metadata which can be used to manage the CA certificate.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Returns a reference to this object so that method calls can be chained together.
tags
- Metadata which can be used to manage the CA certificate.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
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.