Class CfnDomainConfigurationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnDomainConfigurationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainConfigurationMixinProps>
- Enclosing interface:
CfnDomainConfigurationMixinProps
@Stability(Stable)
public static final class CfnDomainConfigurationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainConfigurationMixinProps>
A builder for
CfnDomainConfigurationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationProtocol(String applicationProtocol) Sets the value ofCfnDomainConfigurationMixinProps.getApplicationProtocol()authenticationType(String authenticationType) Sets the value ofCfnDomainConfigurationMixinProps.getAuthenticationType()authorizerConfig(CfnDomainConfigurationPropsMixin.AuthorizerConfigProperty authorizerConfig) Sets the value ofCfnDomainConfigurationMixinProps.getAuthorizerConfig()authorizerConfig(IResolvable authorizerConfig) Sets the value ofCfnDomainConfigurationMixinProps.getAuthorizerConfig()build()Builds the configured instance.clientCertificateConfig(CfnDomainConfigurationPropsMixin.ClientCertificateConfigProperty clientCertificateConfig) Sets the value ofCfnDomainConfigurationMixinProps.getClientCertificateConfig()clientCertificateConfig(IResolvable clientCertificateConfig) Sets the value ofCfnDomainConfigurationMixinProps.getClientCertificateConfig()domainConfigurationName(String domainConfigurationName) Sets the value ofCfnDomainConfigurationMixinProps.getDomainConfigurationName()domainConfigurationStatus(String domainConfigurationStatus) Sets the value ofCfnDomainConfigurationMixinProps.getDomainConfigurationStatus()domainName(String domainName) Sets the value ofCfnDomainConfigurationMixinProps.getDomainName()serverCertificateArns(List<String> serverCertificateArns) Sets the value ofCfnDomainConfigurationMixinProps.getServerCertificateArns()serverCertificateConfig(CfnDomainConfigurationPropsMixin.ServerCertificateConfigProperty serverCertificateConfig) Sets the value ofCfnDomainConfigurationMixinProps.getServerCertificateConfig()serverCertificateConfig(IResolvable serverCertificateConfig) Sets the value ofCfnDomainConfigurationMixinProps.getServerCertificateConfig()serviceType(String serviceType) Sets the value ofCfnDomainConfigurationMixinProps.getServiceType()Sets the value ofCfnDomainConfigurationMixinProps.getTags()Sets the value ofCfnDomainConfigurationMixinProps.getTlsConfig()tlsConfig(IResolvable tlsConfig) Sets the value ofCfnDomainConfigurationMixinProps.getTlsConfig()validationCertificateArn(String validationCertificateArn) Sets the value ofCfnDomainConfigurationMixinProps.getValidationCertificateArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationProtocol
@Stability(Stable) public CfnDomainConfigurationMixinProps.Builder applicationProtocol(String applicationProtocol) Sets the value ofCfnDomainConfigurationMixinProps.getApplicationProtocol()- Parameters:
applicationProtocol- An enumerated string that specifies the application-layer protocol.- Returns:
this
-
authenticationType
@Stability(Stable) public CfnDomainConfigurationMixinProps.Builder authenticationType(String authenticationType) Sets the value ofCfnDomainConfigurationMixinProps.getAuthenticationType()- Parameters:
authenticationType- An enumerated string that specifies the authentication type.- Returns:
this
-
authorizerConfig
@Stability(Stable) public CfnDomainConfigurationMixinProps.Builder authorizerConfig(IResolvable authorizerConfig) Sets the value ofCfnDomainConfigurationMixinProps.getAuthorizerConfig()- Parameters:
authorizerConfig- An object that specifies the authorization service for a domain.- Returns:
this
-
authorizerConfig
@Stability(Stable) public CfnDomainConfigurationMixinProps.Builder authorizerConfig(CfnDomainConfigurationPropsMixin.AuthorizerConfigProperty authorizerConfig) Sets the value ofCfnDomainConfigurationMixinProps.getAuthorizerConfig()- Parameters:
authorizerConfig- An object that specifies the authorization service for a domain.- Returns:
this
-
clientCertificateConfig
@Stability(Stable) public CfnDomainConfigurationMixinProps.Builder clientCertificateConfig(IResolvable clientCertificateConfig) Sets the value ofCfnDomainConfigurationMixinProps.getClientCertificateConfig()- Parameters:
clientCertificateConfig- An object that specifies the client certificate configuration for a domain.- Returns:
this
-
clientCertificateConfig
@Stability(Stable) public CfnDomainConfigurationMixinProps.Builder clientCertificateConfig(CfnDomainConfigurationPropsMixin.ClientCertificateConfigProperty clientCertificateConfig) Sets the value ofCfnDomainConfigurationMixinProps.getClientCertificateConfig()- Parameters:
clientCertificateConfig- An object that specifies the client certificate configuration for a domain.- Returns:
this
-
domainConfigurationName
@Stability(Stable) public CfnDomainConfigurationMixinProps.Builder domainConfigurationName(String domainConfigurationName) Sets the value ofCfnDomainConfigurationMixinProps.getDomainConfigurationName()- Parameters:
domainConfigurationName- The name of the domain configuration. This value must be unique to a region.- Returns:
this
-
domainConfigurationStatus
@Stability(Stable) public CfnDomainConfigurationMixinProps.Builder domainConfigurationStatus(String domainConfigurationStatus) Sets the value ofCfnDomainConfigurationMixinProps.getDomainConfigurationStatus()- Parameters:
domainConfigurationStatus- The status to which the domain configuration should be updated. Valid values:ENABLED|DISABLED- Returns:
this
-
domainName
Sets the value ofCfnDomainConfigurationMixinProps.getDomainName()- Parameters:
domainName- The name of the domain.- Returns:
this
-
serverCertificateArns
@Stability(Stable) public CfnDomainConfigurationMixinProps.Builder serverCertificateArns(List<String> serverCertificateArns) Sets the value ofCfnDomainConfigurationMixinProps.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
-
serverCertificateConfig
@Stability(Stable) public CfnDomainConfigurationMixinProps.Builder serverCertificateConfig(IResolvable serverCertificateConfig) Sets the value ofCfnDomainConfigurationMixinProps.getServerCertificateConfig()- Parameters:
serverCertificateConfig- The server certificate configuration. For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.- Returns:
this
-
serverCertificateConfig
@Stability(Stable) public CfnDomainConfigurationMixinProps.Builder serverCertificateConfig(CfnDomainConfigurationPropsMixin.ServerCertificateConfigProperty serverCertificateConfig) Sets the value ofCfnDomainConfigurationMixinProps.getServerCertificateConfig()- Parameters:
serverCertificateConfig- The server certificate configuration. For more information, see Configurable endpoints from the AWS IoT Core Developer Guide.- Returns:
this
-
serviceType
Sets the value ofCfnDomainConfigurationMixinProps.getServiceType()- Parameters:
serviceType- The type of service delivered by the endpoint.AWS IoT Core currently supports only the
DATAservice type.- Returns:
this
-
tags
@Stability(Stable) public CfnDomainConfigurationMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnDomainConfigurationMixinProps.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 ofCfnDomainConfigurationMixinProps.getTlsConfig()- Parameters:
tlsConfig- An object that specifies the TLS configuration for a domain.- Returns:
this
-
tlsConfig
@Stability(Stable) public CfnDomainConfigurationMixinProps.Builder tlsConfig(CfnDomainConfigurationPropsMixin.TlsConfigProperty tlsConfig) Sets the value ofCfnDomainConfigurationMixinProps.getTlsConfig()- Parameters:
tlsConfig- An object that specifies the TLS configuration for a domain.- Returns:
this
-
validationCertificateArn
@Stability(Stable) public CfnDomainConfigurationMixinProps.Builder validationCertificateArn(String validationCertificateArn) Sets the value ofCfnDomainConfigurationMixinProps.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainConfigurationMixinProps>- Returns:
- a new instance of
CfnDomainConfigurationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-