Class CfnObjectType.ObjectTypeFieldProperty.Builder
java.lang.Object
software.amazon.awscdk.services.customerprofiles.CfnObjectType.ObjectTypeFieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnObjectType.ObjectTypeFieldProperty>
- Enclosing interface:
CfnObjectType.ObjectTypeFieldProperty
@Stability(Stable)
public static final class CfnObjectType.ObjectTypeFieldProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnObjectType.ObjectTypeFieldProperty>
A builder for
CfnObjectType.ObjectTypeFieldProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.contentType(String contentType) Sets the value ofCfnObjectType.ObjectTypeFieldProperty.getContentType()Sets the value ofCfnObjectType.ObjectTypeFieldProperty.getSource()Sets the value ofCfnObjectType.ObjectTypeFieldProperty.getTarget()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contentType
@Stability(Stable) public CfnObjectType.ObjectTypeFieldProperty.Builder contentType(String contentType) Sets the value ofCfnObjectType.ObjectTypeFieldProperty.getContentType()- Parameters:
contentType- The content type of the field. Used for determining equality when searching.- Returns:
this
-
source
Sets the value ofCfnObjectType.ObjectTypeFieldProperty.getSource()- Parameters:
source- A field of a ProfileObject. For example: _source.FirstName, where “_source” is a ProfileObjectType of a Zendesk user and “FirstName” is a field in that ObjectType.- Returns:
this
-
target
Sets the value ofCfnObjectType.ObjectTypeFieldProperty.getTarget()- Parameters:
target- The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnObjectType.ObjectTypeFieldProperty>- Returns:
- a new instance of
CfnObjectType.ObjectTypeFieldProperty - Throws:
NullPointerException- if any required attribute was not provided
-