Interface RegisterCaCertificateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RegisterCaCertificateRequest.Builder,RegisterCaCertificateRequest>,IotRequest.Builder,SdkBuilder<RegisterCaCertificateRequest.Builder,RegisterCaCertificateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- RegisterCaCertificateRequest
public static interface RegisterCaCertificateRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<RegisterCaCertificateRequest.Builder,RegisterCaCertificateRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RegisterCaCertificateRequest.BuilderallowAutoRegistration(Boolean allowAutoRegistration)Allows this CA certificate to be used for auto registration of device certificates.RegisterCaCertificateRequest.BuildercaCertificate(String caCertificate)The CA certificate.RegisterCaCertificateRequest.BuildercertificateMode(String certificateMode)Describes the certificate mode in which the Certificate Authority (CA) will be registered.RegisterCaCertificateRequest.BuildercertificateMode(CertificateMode certificateMode)Describes the certificate mode in which the Certificate Authority (CA) will be registered.RegisterCaCertificateRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RegisterCaCertificateRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default RegisterCaCertificateRequest.BuilderregistrationConfig(Consumer<RegistrationConfig.Builder> registrationConfig)Information about the registration configuration.RegisterCaCertificateRequest.BuilderregistrationConfig(RegistrationConfig registrationConfig)Information about the registration configuration.RegisterCaCertificateRequest.BuildersetAsActive(Boolean setAsActive)A boolean value that specifies if the CA certificate is set to active.RegisterCaCertificateRequest.Buildertags(Collection<Tag> tags)Metadata which can be used to manage the CA certificate.RegisterCaCertificateRequest.Buildertags(Consumer<Tag.Builder>... tags)Metadata which can be used to manage the CA certificate.RegisterCaCertificateRequest.Buildertags(Tag... tags)Metadata which can be used to manage the CA certificate.RegisterCaCertificateRequest.BuilderverificationCertificate(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 Detail
-
caCertificate
RegisterCaCertificateRequest.Builder caCertificate(String 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
RegisterCaCertificateRequest.Builder verificationCertificate(String verificationCertificate)
The private key verification certificate. If
certificateModeisSNI_ONLY, theverificationCertificatefield must be empty. IfcertificateModeisDEFAULTor not provided, theverificationCertificatefield must not be empty.- Parameters:
verificationCertificate- The private key verification certificate. IfcertificateModeisSNI_ONLY, theverificationCertificatefield must be empty. IfcertificateModeisDEFAULTor not provided, theverificationCertificatefield must not be empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAsActive
RegisterCaCertificateRequest.Builder setAsActive(Boolean 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
RegisterCaCertificateRequest.Builder allowAutoRegistration(Boolean 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
RegisterCaCertificateRequest.Builder registrationConfig(RegistrationConfig 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.Builderavoiding the need to create one manually viaRegistrationConfig.builder().When the
Consumercompletes,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:
registrationConfig(RegistrationConfig)
-
tags
RegisterCaCertificateRequest.Builder tags(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..."
- 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
RegisterCaCertificateRequest.Builder tags(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..."
- 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
RegisterCaCertificateRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage the CA certificate.
This is a convenience method that creates an instance of theFor 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
certificateMode
RegisterCaCertificateRequest.Builder certificateMode(String certificateMode)
Describes the certificate mode in which the Certificate Authority (CA) will be registered. If the
verificationCertificatefield is not provided, setcertificateModeto beSNI_ONLY. If theverificationCertificatefield is provided, setcertificateModeto beDEFAULT. WhencertificateModeis 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 theverificationCertificatefield is not provided, setcertificateModeto beSNI_ONLY. If theverificationCertificatefield is provided, setcertificateModeto beDEFAULT. WhencertificateModeis 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,CertificateMode
-
certificateMode
RegisterCaCertificateRequest.Builder certificateMode(CertificateMode certificateMode)
Describes the certificate mode in which the Certificate Authority (CA) will be registered. If the
verificationCertificatefield is not provided, setcertificateModeto beSNI_ONLY. If theverificationCertificatefield is provided, setcertificateModeto beDEFAULT. WhencertificateModeis 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 theverificationCertificatefield is not provided, setcertificateModeto beSNI_ONLY. If theverificationCertificatefield is provided, setcertificateModeto beDEFAULT. WhencertificateModeis 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,CertificateMode
-
overrideConfiguration
RegisterCaCertificateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RegisterCaCertificateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-