Interface RegisterCaCertificateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<RegisterCaCertificateRequest.Builder,
,RegisterCaCertificateRequest> IotRequest.Builder
,SdkBuilder<RegisterCaCertificateRequest.Builder,
,RegisterCaCertificateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
RegisterCaCertificateRequest
-
Method Summary
Modifier and TypeMethodDescriptionallowAutoRegistration
(Boolean allowAutoRegistration) Allows this CA certificate to be used for auto registration of device certificates.caCertificate
(String caCertificate) The CA certificate.certificateMode
(String certificateMode) Describes the certificate mode in which the Certificate Authority (CA) will be registered.certificateMode
(CertificateMode certificateMode) Describes the certificate mode in which the Certificate Authority (CA) will be registered.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.registrationConfig
(Consumer<RegistrationConfig.Builder> registrationConfig) Information about the registration configuration.registrationConfig
(RegistrationConfig registrationConfig) Information about the registration configuration.setAsActive
(Boolean setAsActive) A boolean value that specifies if the CA certificate is set to active.tags
(Collection<Tag> tags) Metadata which can be used to manage the CA certificate.tags
(Consumer<Tag.Builder>... tags) Metadata which can be used to manage the CA certificate.Metadata which can be used to manage the CA certificate.verificationCertificate
(String verificationCertificate) The private key verification certificate.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
caCertificate
The CA certificate.
- Parameters:
caCertificate
- The CA certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verificationCertificate
The private key verification certificate. If
certificateMode
isSNI_ONLY
, theverificationCertificate
field must be empty. IfcertificateMode
isDEFAULT
or not provided, theverificationCertificate
field must not be empty.- Parameters:
verificationCertificate
- The private key verification certificate. IfcertificateMode
isSNI_ONLY
, theverificationCertificate
field must be empty. IfcertificateMode
isDEFAULT
or not provided, theverificationCertificate
field must not be empty.- Returns:
- 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.
Valid values:
ACTIVE | INACTIVE
- Parameters:
setAsActive
- A boolean value that specifies if the CA certificate is set to active.Valid values:
ACTIVE | INACTIVE
- Returns:
- 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.
- Parameters:
allowAutoRegistration
- Allows this CA certificate to be used for auto registration of device certificates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationConfig
Information about the registration configuration.
- Parameters:
registrationConfig
- Information about the registration configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationConfig
default RegisterCaCertificateRequest.Builder registrationConfig(Consumer<RegistrationConfig.Builder> registrationConfig) Information about the registration configuration.
This is a convenience method that creates an instance of theRegistrationConfig.Builder
avoiding the need to create one manually viaRegistrationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toregistrationConfig(RegistrationConfig)
.- Parameters:
registrationConfig
- a consumer that will call methods onRegistrationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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..."
- Parameters:
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:
- 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..."
- Parameters:
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:
- 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..."
Tag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
certificateMode
Describes the certificate mode in which the Certificate Authority (CA) will be registered. If the
verificationCertificate
field is not provided, setcertificateMode
to beSNI_ONLY
. If theverificationCertificate
field is provided, setcertificateMode
to beDEFAULT
. WhencertificateMode
is not provided, it defaults toDEFAULT
. 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.- Parameters:
certificateMode
- Describes the certificate mode in which the Certificate Authority (CA) will be registered. If theverificationCertificate
field is not provided, setcertificateMode
to beSNI_ONLY
. If theverificationCertificate
field is provided, setcertificateMode
to beDEFAULT
. WhencertificateMode
is not provided, it defaults toDEFAULT
. 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
certificateMode
Describes the certificate mode in which the Certificate Authority (CA) will be registered. If the
verificationCertificate
field is not provided, setcertificateMode
to beSNI_ONLY
. If theverificationCertificate
field is provided, setcertificateMode
to beDEFAULT
. WhencertificateMode
is not provided, it defaults toDEFAULT
. 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.- Parameters:
certificateMode
- Describes the certificate mode in which the Certificate Authority (CA) will be registered. If theverificationCertificate
field is not provided, setcertificateMode
to beSNI_ONLY
. If theverificationCertificate
field is provided, setcertificateMode
to beDEFAULT
. WhencertificateMode
is not provided, it defaults toDEFAULT
. 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
RegisterCaCertificateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RegisterCaCertificateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-