Class CfnDomainConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnDomainConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainConfigurationProps>
- Enclosing interface:
CfnDomainConfigurationProps
@Stability(Stable)
public static final class CfnDomainConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainConfigurationProps>
A builder for
CfnDomainConfigurationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthorizerConfig
(IResolvable authorizerConfig) Sets the value ofCfnDomainConfigurationProps.getAuthorizerConfig()
authorizerConfig
(CfnDomainConfiguration.AuthorizerConfigProperty authorizerConfig) Sets the value ofCfnDomainConfigurationProps.getAuthorizerConfig()
build()
Builds the configured instance.domainConfigurationName
(String domainConfigurationName) Sets the value ofCfnDomainConfigurationProps.getDomainConfigurationName()
domainConfigurationStatus
(String domainConfigurationStatus) Sets the value ofCfnDomainConfigurationProps.getDomainConfigurationStatus()
domainName
(String domainName) Sets the value ofCfnDomainConfigurationProps.getDomainName()
serverCertificateArns
(List<String> serverCertificateArns) Sets the value ofCfnDomainConfigurationProps.getServerCertificateArns()
serviceType
(String serviceType) Sets the value ofCfnDomainConfigurationProps.getServiceType()
Sets the value ofCfnDomainConfigurationProps.getTags()
tlsConfig
(IResolvable tlsConfig) Sets the value ofCfnDomainConfigurationProps.getTlsConfig()
Sets the value ofCfnDomainConfigurationProps.getTlsConfig()
validationCertificateArn
(String validationCertificateArn) Sets the value ofCfnDomainConfigurationProps.getValidationCertificateArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizerConfig
@Stability(Stable) public CfnDomainConfigurationProps.Builder authorizerConfig(IResolvable authorizerConfig) Sets the value ofCfnDomainConfigurationProps.getAuthorizerConfig()
- Parameters:
authorizerConfig
- An object that specifies the authorization service for a domain.- Returns:
this
-
authorizerConfig
@Stability(Stable) public CfnDomainConfigurationProps.Builder authorizerConfig(CfnDomainConfiguration.AuthorizerConfigProperty authorizerConfig) Sets the value ofCfnDomainConfigurationProps.getAuthorizerConfig()
- Parameters:
authorizerConfig
- An object that specifies the authorization service for a domain.- Returns:
this
-
domainConfigurationName
@Stability(Stable) public CfnDomainConfigurationProps.Builder domainConfigurationName(String domainConfigurationName) Sets the value ofCfnDomainConfigurationProps.getDomainConfigurationName()
- Parameters:
domainConfigurationName
- The name of the domain configuration. This value must be unique to a region.- Returns:
this
-
domainConfigurationStatus
@Stability(Stable) public CfnDomainConfigurationProps.Builder domainConfigurationStatus(String domainConfigurationStatus) Sets the value ofCfnDomainConfigurationProps.getDomainConfigurationStatus()
- Parameters:
domainConfigurationStatus
- The status to which the domain configuration should be updated. Valid values:ENABLED
|DISABLED
- Returns:
this
-
domainName
Sets the value ofCfnDomainConfigurationProps.getDomainName()
- Parameters:
domainName
- The name of the domain.- Returns:
this
-
serverCertificateArns
@Stability(Stable) public CfnDomainConfigurationProps.Builder serverCertificateArns(List<String> serverCertificateArns) Sets the value ofCfnDomainConfigurationProps.getServerCertificateArns()
- Parameters:
serverCertificateArns
- The ARNs of the certificates that AWS IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for AWS -managed domains.- Returns:
this
-
serviceType
Sets the value ofCfnDomainConfigurationProps.getServiceType()
- Parameters:
serviceType
- The type of service delivered by the endpoint.AWS IoT Core currently supports only the
DATA
service type.- Returns:
this
-
tags
Sets the value ofCfnDomainConfigurationProps.getTags()
- Parameters:
tags
- Metadata which can be used to manage the domain configuration.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:
this
-
tlsConfig
Sets the value ofCfnDomainConfigurationProps.getTlsConfig()
- Parameters:
tlsConfig
-AWS::IoT::DomainConfiguration.TlsConfig
.- Returns:
this
-
tlsConfig
@Stability(Stable) public CfnDomainConfigurationProps.Builder tlsConfig(CfnDomainConfiguration.TlsConfigProperty tlsConfig) Sets the value ofCfnDomainConfigurationProps.getTlsConfig()
- Parameters:
tlsConfig
-AWS::IoT::DomainConfiguration.TlsConfig
.- Returns:
this
-
validationCertificateArn
@Stability(Stable) public CfnDomainConfigurationProps.Builder validationCertificateArn(String validationCertificateArn) Sets the value ofCfnDomainConfigurationProps.getValidationCertificateArn()
- Parameters:
validationCertificateArn
- The certificate used to validate the server certificate and prove domain name ownership. This certificate must be signed by a public certificate authority. This value is not required for AWS -managed domains.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDomainConfigurationProps>
- Returns:
- a new instance of
CfnDomainConfigurationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-