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 Details

    • 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

      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 the AuthorizerConfig.Builder avoiding the need to create one manually via AuthorizerConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to authorizerConfig(AuthorizerConfig).

      Parameters:
      authorizerConfig - a consumer that will call methods on AuthorizerConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serviceType

      The type of service delivered by the endpoint.

      Amazon Web Services IoT Core currently supports only the DATA service type.

      Parameters:
      serviceType - The type of service delivered by the endpoint.

      Amazon Web Services IoT Core currently supports only the DATA service type.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serviceType

      The type of service delivered by the endpoint.

      Amazon Web Services IoT Core currently supports only the DATA service type.

      Parameters:
      serviceType - The type of service delivered by the endpoint.

      Amazon Web Services IoT Core currently supports only the DATA service type.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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..."

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      An object that specifies the TLS configuration for a domain.

      This is a convenience method that creates an instance of the TlsConfig.Builder avoiding the need to create one manually via TlsConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tlsConfig(TlsConfig).

      Parameters:
      tlsConfig - a consumer that will call methods on TlsConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the ServerCertificateConfig.Builder avoiding the need to create one manually via ServerCertificateConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to serverCertificateConfig(ServerCertificateConfig).

      Parameters:
      serverCertificateConfig - a consumer that will call methods on ServerCertificateConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateDomainConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.