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