Class CfnObjectType.ObjectTypeKeyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.customerprofiles.CfnObjectType.ObjectTypeKeyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnObjectType.ObjectTypeKeyProperty>
- Enclosing interface:
CfnObjectType.ObjectTypeKeyProperty
@Stability(Stable)
public static final class CfnObjectType.ObjectTypeKeyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnObjectType.ObjectTypeKeyProperty>
A builder for
CfnObjectType.ObjectTypeKeyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.fieldNames
(List<String> fieldNames) Sets the value ofCfnObjectType.ObjectTypeKeyProperty.getFieldNames()
standardIdentifiers
(List<String> standardIdentifiers) Sets the value ofCfnObjectType.ObjectTypeKeyProperty.getStandardIdentifiers()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldNames
@Stability(Stable) public CfnObjectType.ObjectTypeKeyProperty.Builder fieldNames(List<String> fieldNames) Sets the value ofCfnObjectType.ObjectTypeKeyProperty.getFieldNames()
- Parameters:
fieldNames
- The reference for the key name of the fields map.- Returns:
this
-
standardIdentifiers
@Stability(Stable) public CfnObjectType.ObjectTypeKeyProperty.Builder standardIdentifiers(List<String> standardIdentifiers) Sets the value ofCfnObjectType.ObjectTypeKeyProperty.getStandardIdentifiers()
- Parameters:
standardIdentifiers
- The types of keys that a ProfileObject can have. Each ProfileObject can have only 1 UNIQUE key but multiple PROFILE keys. PROFILE means that this key can be used to tie an object to a PROFILE. UNIQUE means that it can be used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is only used to match a profile but is not persisted to be used for searching of the profile. A NEW_ONLY key is only used if the profile does not already exist before the object is ingested, otherwise it is only used for matching objects to profiles.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnObjectType.ObjectTypeKeyProperty>
- Returns:
- a new instance of
CfnObjectType.ObjectTypeKeyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-