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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.deadLetterQueueUrl
(String deadLetterQueueUrl) Sets the value ofCfnDomainProps.getDeadLetterQueueUrl()
defaultEncryptionKey
(String defaultEncryptionKey) Sets the value ofCfnDomainProps.getDefaultEncryptionKey()
defaultExpirationDays
(Number defaultExpirationDays) Sets the value ofCfnDomainProps.getDefaultExpirationDays()
domainName
(String domainName) Sets the value ofCfnDomainProps.getDomainName()
Sets the value ofCfnDomainProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainName
Sets the value ofCfnDomainProps.getDomainName()
- Parameters:
domainName
- The unique name of the domain. This parameter is required.- Returns:
this
-
deadLetterQueueUrl
Sets the value ofCfnDomainProps.getDeadLetterQueueUrl()
- 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
Sets the value ofCfnDomainProps.getDefaultEncryptionKey()
- 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) Sets the value ofCfnDomainProps.getDefaultExpirationDays()
- Parameters:
defaultExpirationDays
- The default number of days until the data within the domain expires.- Returns:
this
-
tags
Sets the value ofCfnDomainProps.getTags()
- Parameters:
tags
- The tags used to organize, track, or control access for this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDomainProps>
- Returns:
- a new instance of
CfnDomainProps
- Throws:
NullPointerException
- if any required attribute was not provided
-