Class CfnDomainProps.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • domainName

      @Stability(Stable) public CfnDomainProps.Builder domainName(String domainName)
      Parameters:
      domainName - The unique name of the domain. This parameter is required.
      Returns:
      this
    • deadLetterQueueUrl

      @Stability(Stable) public CfnDomainProps.Builder deadLetterQueueUrl(String deadLetterQueueUrl)
      Parameters:
      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.
      Returns:
      this
    • defaultEncryptionKey

      @Stability(Stable) public CfnDomainProps.Builder defaultEncryptionKey(String defaultEncryptionKey)
      Parameters:
      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.
      Returns:
      this
    • defaultExpirationDays

      @Stability(Stable) public CfnDomainProps.Builder defaultExpirationDays(Number defaultExpirationDays)
      Parameters:
      defaultExpirationDays - The default number of days until the data within the domain expires.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnDomainProps.Builder tags(List<? extends CfnTag> tags)
      Sets the value of CfnDomainProps.getTags()
      Parameters:
      tags - The tags used to organize, track, or control access for this resource.
      Returns:
      this
    • build

      @Stability(Stable) public CfnDomainProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnDomainProps>
      Returns:
      a new instance of CfnDomainProps
      Throws:
      NullPointerException - if any required attribute was not provided