Class CfnDomain.Builder

java.lang.Object
software.amazon.awscdk.services.customerprofiles.CfnDomain.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain>
Enclosing class:
CfnDomain

@Stability(Stable) public static final class CfnDomain.Builder extends Object implements software.amazon.jsii.Builder<CfnDomain>
A fluent builder for CfnDomain.
  • Method Details

    • create

      @Stability(Stable) public static CfnDomain.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnDomain.Builder.
    • domainName

      @Stability(Stable) public CfnDomain.Builder domainName(String domainName)
      The unique name of the domain.

      Parameters:
      domainName - The unique name of the domain. This parameter is required.
      Returns:
      this
    • deadLetterQueueUrl

      @Stability(Stable) public CfnDomain.Builder deadLetterQueueUrl(String deadLetterQueueUrl)
      The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications.

      You must set up a policy on the DeadLetterQueue for the SendMessage operation to enable Amazon Connect Customer Profiles to send messages to the DeadLetterQueue.

      Parameters:
      deadLetterQueueUrl - The URL of the SQS dead letter queue, which is used for reporting errors associated with ingesting data from third party applications. This parameter is required.
      Returns:
      this
    • defaultEncryptionKey

      @Stability(Stable) public CfnDomain.Builder defaultEncryptionKey(String defaultEncryptionKey)
      The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is specified.

      It is used to encrypt all data before it is placed in permanent or semi-permanent storage.

      Parameters:
      defaultEncryptionKey - The default encryption key, which is an AWS managed key, is used when no specific type of encryption key is specified. This parameter is required.
      Returns:
      this
    • defaultExpirationDays

      @Stability(Stable) public CfnDomain.Builder defaultExpirationDays(Number defaultExpirationDays)
      The default number of days until the data within the domain expires.

      Parameters:
      defaultExpirationDays - The default number of days until the data within the domain expires. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnDomain.Builder tags(List<? extends CfnTag> tags)
      The tags used to organize, track, or control access for this resource.

      Parameters:
      tags - The tags used to organize, track, or control access for this resource. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnDomain build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnDomain>
      Returns:
      a newly built instance of CfnDomain.