public static final class CfnObjectType.Builder
extends java.lang.Object
CfnObjectType
.Modifier and Type | Method and Description |
---|---|
CfnObjectType.Builder |
allowProfileCreation(java.lang.Boolean allowProfileCreation)
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type.
|
CfnObjectType.Builder |
allowProfileCreation(IResolvable allowProfileCreation)
Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type.
|
CfnObjectType |
build() |
static CfnObjectType.Builder |
create(Construct scope,
java.lang.String id) |
CfnObjectType.Builder |
description(java.lang.String description)
The description of the profile object type mapping.
|
CfnObjectType.Builder |
domainName(java.lang.String domainName)
The unique name of the domain.
|
CfnObjectType.Builder |
encryptionKey(java.lang.String encryptionKey)
The customer-provided key to encrypt the profile object that will be created in this profile object type mapping.
|
CfnObjectType.Builder |
expirationDays(java.lang.Number expirationDays)
The number of days until the data of this type expires.
|
CfnObjectType.Builder |
fields(IResolvable fields)
A list of field definitions for the object type mapping.
|
CfnObjectType.Builder |
fields(java.util.List<? extends java.lang.Object> fields)
A list of field definitions for the object type mapping.
|
CfnObjectType.Builder |
keys(IResolvable keys)
A list of keys that can be used to map data to the profile or search for the profile.
|
CfnObjectType.Builder |
keys(java.util.List<? extends java.lang.Object> keys)
A list of keys that can be used to map data to the profile or search for the profile.
|
CfnObjectType.Builder |
objectTypeName(java.lang.String objectTypeName)
The name of the profile object type.
|
CfnObjectType.Builder |
tags(java.util.List<? extends CfnTag> tags)
The tags used to organize, track, or control access for this resource.
|
CfnObjectType.Builder |
templateId(java.lang.String templateId)
A unique identifier for the template mapping.
|
public static CfnObjectType.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnObjectType.FieldMapProperty.Builder
.public CfnObjectType.Builder domainName(java.lang.String domainName)
domainName
- The unique name of the domain. This parameter is required.this
public CfnObjectType.Builder allowProfileCreation(java.lang.Boolean allowProfileCreation)
The default is FALSE
. If the AllowProfileCreation flag is set to FALSE
, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE
, and if no match is found, then the service creates a new standard profile.
allowProfileCreation
- Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. This parameter is required.this
public CfnObjectType.Builder allowProfileCreation(IResolvable allowProfileCreation)
The default is FALSE
. If the AllowProfileCreation flag is set to FALSE
, then the service tries to fetch a standard profile and associate this object with the profile. If it is set to TRUE
, and if no match is found, then the service creates a new standard profile.
allowProfileCreation
- Indicates whether a profile should be created when data is received if one doesn’t exist for an object of this type. This parameter is required.this
public CfnObjectType.Builder description(java.lang.String description)
description
- The description of the profile object type mapping. This parameter is required.this
public CfnObjectType.Builder encryptionKey(java.lang.String encryptionKey)
If not specified the system will use the encryption key of the domain.
encryptionKey
- The customer-provided key to encrypt the profile object that will be created in this profile object type mapping. This parameter is required.this
public CfnObjectType.Builder expirationDays(java.lang.Number expirationDays)
expirationDays
- The number of days until the data of this type expires. This parameter is required.this
public CfnObjectType.Builder fields(IResolvable fields)
fields
- A list of field definitions for the object type mapping. This parameter is required.this
public CfnObjectType.Builder fields(java.util.List<? extends java.lang.Object> fields)
fields
- A list of field definitions for the object type mapping. This parameter is required.this
public CfnObjectType.Builder keys(IResolvable keys)
keys
- A list of keys that can be used to map data to the profile or search for the profile. This parameter is required.this
public CfnObjectType.Builder keys(java.util.List<? extends java.lang.Object> keys)
keys
- A list of keys that can be used to map data to the profile or search for the profile. This parameter is required.this
public CfnObjectType.Builder objectTypeName(java.lang.String objectTypeName)
objectTypeName
- The name of the profile object type. This parameter is required.this
public CfnObjectType.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- The tags used to organize, track, or control access for this resource. This parameter is required.this
public CfnObjectType.Builder templateId(java.lang.String templateId)
This can be used instead of specifying the Keys and Fields properties directly.
templateId
- A unique identifier for the template mapping. This parameter is required.this
public CfnObjectType build()