Class CfnObjectType.KeyMapProperty.Builder
java.lang.Object
software.amazon.awscdk.services.customerprofiles.CfnObjectType.KeyMapProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnObjectType.KeyMapProperty>
- Enclosing interface:
CfnObjectType.KeyMapProperty
@Stability(Stable)
public static final class CfnObjectType.KeyMapProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnObjectType.KeyMapProperty>
A builder for
CfnObjectType.KeyMapProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnObjectType.KeyMapProperty.getName()objectTypeKeyList(List<? extends Object> objectTypeKeyList) Sets the value ofCfnObjectType.KeyMapProperty.getObjectTypeKeyList()objectTypeKeyList(IResolvable objectTypeKeyList) Sets the value ofCfnObjectType.KeyMapProperty.getObjectTypeKeyList()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnObjectType.KeyMapProperty.getName()- Parameters:
name- Name of the key.- Returns:
this
-
objectTypeKeyList
@Stability(Stable) public CfnObjectType.KeyMapProperty.Builder objectTypeKeyList(IResolvable objectTypeKeyList) Sets the value ofCfnObjectType.KeyMapProperty.getObjectTypeKeyList()- Parameters:
objectTypeKeyList- A list of ObjectTypeKey.- Returns:
this
-
objectTypeKeyList
@Stability(Stable) public CfnObjectType.KeyMapProperty.Builder objectTypeKeyList(List<? extends Object> objectTypeKeyList) Sets the value ofCfnObjectType.KeyMapProperty.getObjectTypeKeyList()- Parameters:
objectTypeKeyList- A list of ObjectTypeKey.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnObjectType.KeyMapProperty>- Returns:
- a new instance of
CfnObjectType.KeyMapProperty - Throws:
NullPointerException- if any required attribute was not provided
-