@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterCACertificateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input to the RegisterCACertificate operation.
NOOP
Constructor and Description |
---|
RegisterCACertificateRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterCACertificateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAllowAutoRegistration()
Allows this CA certificate to be used for auto registration of device certificates.
|
String |
getCaCertificate()
The CA certificate.
|
String |
getCertificateMode()
Describes the certificate mode in which the Certificate Authority (CA) will be registered.
|
RegistrationConfig |
getRegistrationConfig()
Information about the registration configuration.
|
Boolean |
getSetAsActive()
A boolean value that specifies if the CA certificate is set to active.
|
List<Tag> |
getTags()
Metadata which can be used to manage the CA certificate.
|
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 |
setCertificateMode(String certificateMode)
Describes the certificate mode in which the Certificate Authority (CA) will be registered.
|
void |
setRegistrationConfig(RegistrationConfig registrationConfig)
Information about the registration configuration.
|
void |
setSetAsActive(Boolean setAsActive)
A boolean value that specifies if the CA certificate is set to active.
|
void |
setTags(Collection<Tag> tags)
Metadata which can be used to manage the CA certificate.
|
void |
setVerificationCertificate(String verificationCertificate)
The private key verification certificate.
|
String |
toString()
Returns a string representation of this object.
|
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 |
withCertificateMode(CertificateMode certificateMode)
Describes the certificate mode in which the Certificate Authority (CA) will be registered.
|
RegisterCACertificateRequest |
withCertificateMode(String certificateMode)
Describes the certificate mode in which the Certificate Authority (CA) will be registered.
|
RegisterCACertificateRequest |
withRegistrationConfig(RegistrationConfig registrationConfig)
Information about the registration configuration.
|
RegisterCACertificateRequest |
withSetAsActive(Boolean setAsActive)
A boolean value that specifies if the CA certificate is set to active.
|
RegisterCACertificateRequest |
withTags(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(String verificationCertificate)
The private key verification certificate.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCaCertificate(String caCertificate)
The CA certificate.
caCertificate
- The CA certificate.public String getCaCertificate()
The CA certificate.
public RegisterCACertificateRequest withCaCertificate(String caCertificate)
The CA certificate.
caCertificate
- The CA certificate.public void setVerificationCertificate(String verificationCertificate)
The private key verification certificate. If certificateMode
is SNI_ONLY
, the
verificationCertificate
field must be empty. If certificateMode
is DEFAULT
or not provided, the verificationCertificate
field must not be empty.
verificationCertificate
- The private key verification certificate. If certificateMode
is SNI_ONLY
, the
verificationCertificate
field must be empty. If certificateMode
is
DEFAULT
or not provided, the verificationCertificate
field must not be empty.public String getVerificationCertificate()
The private key verification certificate. If certificateMode
is SNI_ONLY
, the
verificationCertificate
field must be empty. If certificateMode
is DEFAULT
or not provided, the verificationCertificate
field must not be empty.
certificateMode
is SNI_ONLY
, the
verificationCertificate
field must be empty. If certificateMode
is
DEFAULT
or not provided, the verificationCertificate
field must not be empty.public RegisterCACertificateRequest withVerificationCertificate(String verificationCertificate)
The private key verification certificate. If certificateMode
is SNI_ONLY
, the
verificationCertificate
field must be empty. If certificateMode
is DEFAULT
or not provided, the verificationCertificate
field must not be empty.
verificationCertificate
- The private key verification certificate. If certificateMode
is SNI_ONLY
, the
verificationCertificate
field must be empty. If certificateMode
is
DEFAULT
or not provided, the verificationCertificate
field must not be empty.public void setSetAsActive(Boolean setAsActive)
A boolean value that specifies if the CA certificate is set to active.
Valid values: ACTIVE | INACTIVE
setAsActive
- A boolean value that specifies if the CA certificate is set to active.
Valid values: ACTIVE | INACTIVE
public Boolean getSetAsActive()
A boolean value that specifies if the CA certificate is set to active.
Valid values: ACTIVE | INACTIVE
Valid values: ACTIVE | INACTIVE
public RegisterCACertificateRequest withSetAsActive(Boolean setAsActive)
A boolean value that specifies if the CA certificate is set to active.
Valid values: ACTIVE | INACTIVE
setAsActive
- A boolean value that specifies if the CA certificate is set to active.
Valid values: ACTIVE | INACTIVE
public Boolean isSetAsActive()
A boolean value that specifies if the CA certificate is set to active.
Valid values: ACTIVE | INACTIVE
Valid values: ACTIVE | INACTIVE
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 Boolean getAllowAutoRegistration()
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.
allowAutoRegistration
- Allows this CA certificate to be used for auto registration of device certificates.public Boolean isAllowAutoRegistration()
Allows this CA certificate to be used for auto registration of device certificates.
public void setRegistrationConfig(RegistrationConfig registrationConfig)
Information about the registration configuration.
registrationConfig
- Information about the registration configuration.public RegistrationConfig getRegistrationConfig()
Information about the registration configuration.
public RegisterCACertificateRequest withRegistrationConfig(RegistrationConfig registrationConfig)
Information about the registration configuration.
registrationConfig
- Information about the registration configuration.public 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..."
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(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..."
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
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(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 void setCertificateMode(String certificateMode)
Describes the certificate mode in which the Certificate Authority (CA) will be registered. If the
verificationCertificate
field is not provided, set certificateMode
to be
SNI_ONLY
. If the verificationCertificate
field is provided, set
certificateMode
to be DEFAULT
. When certificateMode
is not provided, it
defaults to DEFAULT
. All the device certificates that are registered using this CA will be
registered in the same certificate mode as the CA. For more information about certificate mode for device
certificates, see certificate mode.
certificateMode
- Describes the certificate mode in which the Certificate Authority (CA) will be registered. If the
verificationCertificate
field is not provided, set certificateMode
to be
SNI_ONLY
. If the verificationCertificate
field is provided, set
certificateMode
to be DEFAULT
. When certificateMode
is not
provided, it defaults to DEFAULT
. All the device certificates that are registered using this
CA will be registered in the same certificate mode as the CA. For more information about certificate mode
for device certificates, see certificate mode.CertificateMode
public String getCertificateMode()
Describes the certificate mode in which the Certificate Authority (CA) will be registered. If the
verificationCertificate
field is not provided, set certificateMode
to be
SNI_ONLY
. If the verificationCertificate
field is provided, set
certificateMode
to be DEFAULT
. When certificateMode
is not provided, it
defaults to DEFAULT
. All the device certificates that are registered using this CA will be
registered in the same certificate mode as the CA. For more information about certificate mode for device
certificates, see certificate mode.
verificationCertificate
field is not provided, set certificateMode
to be
SNI_ONLY
. If the verificationCertificate
field is provided, set
certificateMode
to be DEFAULT
. When certificateMode
is not
provided, it defaults to DEFAULT
. All the device certificates that are registered using this
CA will be registered in the same certificate mode as the CA. For more information about certificate mode
for device certificates, see certificate mode.CertificateMode
public RegisterCACertificateRequest withCertificateMode(String certificateMode)
Describes the certificate mode in which the Certificate Authority (CA) will be registered. If the
verificationCertificate
field is not provided, set certificateMode
to be
SNI_ONLY
. If the verificationCertificate
field is provided, set
certificateMode
to be DEFAULT
. When certificateMode
is not provided, it
defaults to DEFAULT
. All the device certificates that are registered using this CA will be
registered in the same certificate mode as the CA. For more information about certificate mode for device
certificates, see certificate mode.
certificateMode
- Describes the certificate mode in which the Certificate Authority (CA) will be registered. If the
verificationCertificate
field is not provided, set certificateMode
to be
SNI_ONLY
. If the verificationCertificate
field is provided, set
certificateMode
to be DEFAULT
. When certificateMode
is not
provided, it defaults to DEFAULT
. All the device certificates that are registered using this
CA will be registered in the same certificate mode as the CA. For more information about certificate mode
for device certificates, see certificate mode.CertificateMode
public RegisterCACertificateRequest withCertificateMode(CertificateMode certificateMode)
Describes the certificate mode in which the Certificate Authority (CA) will be registered. If the
verificationCertificate
field is not provided, set certificateMode
to be
SNI_ONLY
. If the verificationCertificate
field is provided, set
certificateMode
to be DEFAULT
. When certificateMode
is not provided, it
defaults to DEFAULT
. All the device certificates that are registered using this CA will be
registered in the same certificate mode as the CA. For more information about certificate mode for device
certificates, see certificate mode.
certificateMode
- Describes the certificate mode in which the Certificate Authority (CA) will be registered. If the
verificationCertificate
field is not provided, set certificateMode
to be
SNI_ONLY
. If the verificationCertificate
field is provided, set
certificateMode
to be DEFAULT
. When certificateMode
is not
provided, it defaults to DEFAULT
. All the device certificates that are registered using this
CA will be registered in the same certificate mode as the CA. For more information about certificate mode
for device certificates, see certificate mode.CertificateMode
public String toString()
toString
in class Object
Object.toString()
public RegisterCACertificateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()