Class CfnCACertificateMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnCACertificateMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCACertificateMixinProps>
- Enclosing interface:
CfnCACertificateMixinProps
@Stability(Stable)
public static final class CfnCACertificateMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCACertificateMixinProps>
A builder for
CfnCACertificateMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoRegistrationStatus(String autoRegistrationStatus) Sets the value ofCfnCACertificateMixinProps.getAutoRegistrationStatus()build()Builds the configured instance.caCertificatePem(String caCertificatePem) Sets the value ofCfnCACertificateMixinProps.getCaCertificatePem()certificateMode(String certificateMode) Sets the value ofCfnCACertificateMixinProps.getCertificateMode()registrationConfig(CfnCACertificatePropsMixin.RegistrationConfigProperty registrationConfig) Sets the value ofCfnCACertificateMixinProps.getRegistrationConfig()registrationConfig(IResolvable registrationConfig) Sets the value ofCfnCACertificateMixinProps.getRegistrationConfig()removeAutoRegistration(Boolean removeAutoRegistration) Sets the value ofCfnCACertificateMixinProps.getRemoveAutoRegistration()removeAutoRegistration(IResolvable removeAutoRegistration) Sets the value ofCfnCACertificateMixinProps.getRemoveAutoRegistration()Sets the value ofCfnCACertificateMixinProps.getStatus()Sets the value ofCfnCACertificateMixinProps.getTags()verificationCertificatePem(String verificationCertificatePem) Sets the value ofCfnCACertificateMixinProps.getVerificationCertificatePem()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoRegistrationStatus
@Stability(Stable) public CfnCACertificateMixinProps.Builder autoRegistrationStatus(String autoRegistrationStatus) Sets the value ofCfnCACertificateMixinProps.getAutoRegistrationStatus()- Parameters:
autoRegistrationStatus- Whether the CA certificate is configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE".- Returns:
this
-
caCertificatePem
@Stability(Stable) public CfnCACertificateMixinProps.Builder caCertificatePem(String caCertificatePem) Sets the value ofCfnCACertificateMixinProps.getCaCertificatePem()- Parameters:
caCertificatePem- The certificate data in PEM format.- Returns:
this
-
certificateMode
@Stability(Stable) public CfnCACertificateMixinProps.Builder certificateMode(String certificateMode) Sets the value ofCfnCACertificateMixinProps.getCertificateMode()- Parameters:
certificateMode- The mode of the CA. All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode .Valid values are "DEFAULT" and "SNI_ONLY".
- Returns:
this
-
registrationConfig
@Stability(Stable) public CfnCACertificateMixinProps.Builder registrationConfig(IResolvable registrationConfig) Sets the value ofCfnCACertificateMixinProps.getRegistrationConfig()- Parameters:
registrationConfig- Information about the registration configuration.- Returns:
this
-
registrationConfig
@Stability(Stable) public CfnCACertificateMixinProps.Builder registrationConfig(CfnCACertificatePropsMixin.RegistrationConfigProperty registrationConfig) Sets the value ofCfnCACertificateMixinProps.getRegistrationConfig()- Parameters:
registrationConfig- Information about the registration configuration.- Returns:
this
-
removeAutoRegistration
@Stability(Stable) public CfnCACertificateMixinProps.Builder removeAutoRegistration(Boolean removeAutoRegistration) Sets the value ofCfnCACertificateMixinProps.getRemoveAutoRegistration()- Parameters:
removeAutoRegistration- If true, removes auto registration.- Returns:
this
-
removeAutoRegistration
@Stability(Stable) public CfnCACertificateMixinProps.Builder removeAutoRegistration(IResolvable removeAutoRegistration) Sets the value ofCfnCACertificateMixinProps.getRemoveAutoRegistration()- Parameters:
removeAutoRegistration- If true, removes auto registration.- Returns:
this
-
status
Sets the value ofCfnCACertificateMixinProps.getStatus()- Parameters:
status- The status of the CA certificate. Valid values are "ACTIVE" and "INACTIVE".- Returns:
this
-
tags
Sets the value ofCfnCACertificateMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
verificationCertificatePem
@Stability(Stable) public CfnCACertificateMixinProps.Builder verificationCertificatePem(String verificationCertificatePem) Sets the value ofCfnCACertificateMixinProps.getVerificationCertificatePem()- Parameters:
verificationCertificatePem- The private key verification certificate.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCACertificateMixinProps>- Returns:
- a new instance of
CfnCACertificateMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-