Interface CreateDomainConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDomainConfigurationRequest.Builder,CreateDomainConfigurationRequest>,IotRequest.Builder,SdkBuilder<CreateDomainConfigurationRequest.Builder,CreateDomainConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDomainConfigurationRequest
public static interface CreateDomainConfigurationRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateDomainConfigurationRequest.Builder,CreateDomainConfigurationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateDomainConfigurationRequest.BuilderauthorizerConfig(Consumer<AuthorizerConfig.Builder> authorizerConfig)An object that specifies the authorization service for a domain.CreateDomainConfigurationRequest.BuilderauthorizerConfig(AuthorizerConfig authorizerConfig)An object that specifies the authorization service for a domain.CreateDomainConfigurationRequest.BuilderdomainConfigurationName(String domainConfigurationName)The name of the domain configuration.CreateDomainConfigurationRequest.BuilderdomainName(String domainName)The name of the domain.CreateDomainConfigurationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDomainConfigurationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateDomainConfigurationRequest.BuilderserverCertificateArns(String... serverCertificateArns)The ARNs of the certificates that IoT passes to the device during the TLS handshake.CreateDomainConfigurationRequest.BuilderserverCertificateArns(Collection<String> serverCertificateArns)The ARNs of the certificates that IoT passes to the device during the TLS handshake.default CreateDomainConfigurationRequest.BuilderserverCertificateConfig(Consumer<ServerCertificateConfig.Builder> serverCertificateConfig)The server certificate configuration.CreateDomainConfigurationRequest.BuilderserverCertificateConfig(ServerCertificateConfig serverCertificateConfig)The server certificate configuration.CreateDomainConfigurationRequest.BuilderserviceType(String serviceType)The type of service delivered by the endpoint.CreateDomainConfigurationRequest.BuilderserviceType(ServiceType serviceType)The type of service delivered by the endpoint.CreateDomainConfigurationRequest.Buildertags(Collection<Tag> tags)Metadata which can be used to manage the domain configuration.CreateDomainConfigurationRequest.Buildertags(Consumer<Tag.Builder>... tags)Metadata which can be used to manage the domain configuration.CreateDomainConfigurationRequest.Buildertags(Tag... tags)Metadata which can be used to manage the domain configuration.default CreateDomainConfigurationRequest.BuildertlsConfig(Consumer<TlsConfig.Builder> tlsConfig)An object that specifies the TLS configuration for a domain.CreateDomainConfigurationRequest.BuildertlsConfig(TlsConfig tlsConfig)An object that specifies the TLS configuration for a domain.CreateDomainConfigurationRequest.BuildervalidationCertificateArn(String validationCertificateArn)The certificate used to validate the server certificate and prove domain name ownership.-
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
-
domainConfigurationName
CreateDomainConfigurationRequest.Builder domainConfigurationName(String domainConfigurationName)
The name of the domain configuration. This value must be unique to a region.
- Parameters:
domainConfigurationName- The name of the domain configuration. This value must be unique to a region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainName
CreateDomainConfigurationRequest.Builder domainName(String domainName)
The name of the domain.
- Parameters:
domainName- The name of the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverCertificateArns
CreateDomainConfigurationRequest.Builder serverCertificateArns(Collection<String> serverCertificateArns)
The ARNs of the certificates that IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for Amazon Web Services-managed domains.
- Parameters:
serverCertificateArns- The ARNs of the certificates that IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for Amazon Web Services-managed domains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverCertificateArns
CreateDomainConfigurationRequest.Builder serverCertificateArns(String... serverCertificateArns)
The ARNs of the certificates that IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for Amazon Web Services-managed domains.
- Parameters:
serverCertificateArns- The ARNs of the certificates that IoT passes to the device during the TLS handshake. Currently you can specify only one certificate ARN. This value is not required for Amazon Web Services-managed domains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationCertificateArn
CreateDomainConfigurationRequest.Builder validationCertificateArn(String 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 Amazon Web Services-managed domains.
- 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 Amazon Web Services-managed domains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizerConfig
CreateDomainConfigurationRequest.Builder authorizerConfig(AuthorizerConfig authorizerConfig)
An object that specifies the authorization service for a domain.
- Parameters:
authorizerConfig- An object that specifies the authorization service for a domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizerConfig
default CreateDomainConfigurationRequest.Builder authorizerConfig(Consumer<AuthorizerConfig.Builder> authorizerConfig)
An object that specifies the authorization service for a domain.
This is a convenience method that creates an instance of theAuthorizerConfig.Builderavoiding the need to create one manually viaAuthorizerConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthorizerConfig(AuthorizerConfig).- Parameters:
authorizerConfig- a consumer that will call methods onAuthorizerConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
authorizerConfig(AuthorizerConfig)
-
serviceType
CreateDomainConfigurationRequest.Builder serviceType(String serviceType)
The type of service delivered by the endpoint.
Amazon Web Services IoT Core currently supports only the
DATAservice type.- Parameters:
serviceType- The type of service delivered by the endpoint.Amazon Web Services IoT Core currently supports only the
DATAservice type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServiceType,ServiceType
-
serviceType
CreateDomainConfigurationRequest.Builder serviceType(ServiceType serviceType)
The type of service delivered by the endpoint.
Amazon Web Services IoT Core currently supports only the
DATAservice type.- Parameters:
serviceType- The type of service delivered by the endpoint.Amazon Web Services IoT Core currently supports only the
DATAservice type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServiceType,ServiceType
-
tags
CreateDomainConfigurationRequest.Builder tags(Collection<Tag> 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..."
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDomainConfigurationRequest.Builder tags(Tag... 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..."
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDomainConfigurationRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage the domain configuration.
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)
-
tlsConfig
CreateDomainConfigurationRequest.Builder tlsConfig(TlsConfig tlsConfig)
An object that specifies the TLS configuration for a domain.
- Parameters:
tlsConfig- An object that specifies the TLS configuration for a domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tlsConfig
default CreateDomainConfigurationRequest.Builder tlsConfig(Consumer<TlsConfig.Builder> tlsConfig)
An object that specifies the TLS configuration for a domain.
This is a convenience method that creates an instance of theTlsConfig.Builderavoiding the need to create one manually viaTlsConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totlsConfig(TlsConfig).- Parameters:
tlsConfig- a consumer that will call methods onTlsConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tlsConfig(TlsConfig)
-
serverCertificateConfig
CreateDomainConfigurationRequest.Builder serverCertificateConfig(ServerCertificateConfig serverCertificateConfig)
The server certificate configuration.
- Parameters:
serverCertificateConfig- The server certificate configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverCertificateConfig
default CreateDomainConfigurationRequest.Builder serverCertificateConfig(Consumer<ServerCertificateConfig.Builder> serverCertificateConfig)
The server certificate configuration.
This is a convenience method that creates an instance of theServerCertificateConfig.Builderavoiding the need to create one manually viaServerCertificateConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverCertificateConfig(ServerCertificateConfig).- Parameters:
serverCertificateConfig- a consumer that will call methods onServerCertificateConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
serverCertificateConfig(ServerCertificateConfig)
-
overrideConfiguration
CreateDomainConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDomainConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-