Class RelationshipTypeFieldMapping
java.lang.Object
com.azure.resourcemanager.customerinsights.models.RelationshipTypeFieldMapping
Map a field of profile to its corresponding StrongId in Related Profile.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RelationshipTypeFieldMapping class. -
Method Summary
Modifier and TypeMethodDescriptionGet the profileFieldName property: Specifies the fieldName in profile.Get the relatedProfileKeyProperty property: Specifies the KeyProperty (from StrongId) of the related profile.void
validate()
Validates the instance.withProfileFieldName
(String profileFieldName) Set the profileFieldName property: Specifies the fieldName in profile.withRelatedProfileKeyProperty
(String relatedProfileKeyProperty) Set the relatedProfileKeyProperty property: Specifies the KeyProperty (from StrongId) of the related profile.
-
Constructor Details
-
RelationshipTypeFieldMapping
public RelationshipTypeFieldMapping()Creates an instance of RelationshipTypeFieldMapping class.
-
-
Method Details
-
profileFieldName
Get the profileFieldName property: Specifies the fieldName in profile.- Returns:
- the profileFieldName value.
-
withProfileFieldName
Set the profileFieldName property: Specifies the fieldName in profile.- Parameters:
profileFieldName
- the profileFieldName value to set.- Returns:
- the RelationshipTypeFieldMapping object itself.
-
withRelatedProfileKeyProperty
Set the relatedProfileKeyProperty property: Specifies the KeyProperty (from StrongId) of the related profile.- Parameters:
relatedProfileKeyProperty
- the relatedProfileKeyProperty value to set.- Returns:
- the RelationshipTypeFieldMapping object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-