Class RelationshipLinkFieldMapping
java.lang.Object
com.azure.resourcemanager.customerinsights.models.RelationshipLinkFieldMapping
The fields mapping for Relationships.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RelationshipLinkFieldMapping class. -
Method Summary
Modifier and TypeMethodDescriptionGet the interactionFieldName property: The field name on the Interaction Type.linkType()
Get the linkType property: Link type.Get the relationshipFieldName property: The field name on the Relationship metadata.void
validate()
Validates the instance.withInteractionFieldName
(String interactionFieldName) Set the interactionFieldName property: The field name on the Interaction Type.withLinkType
(LinkTypes linkType) Set the linkType property: Link type.withRelationshipFieldName
(String relationshipFieldName) Set the relationshipFieldName property: The field name on the Relationship metadata.
-
Constructor Details
-
RelationshipLinkFieldMapping
public RelationshipLinkFieldMapping()Creates an instance of RelationshipLinkFieldMapping class.
-
-
Method Details
-
interactionFieldName
Get the interactionFieldName property: The field name on the Interaction Type.- Returns:
- the interactionFieldName value.
-
withInteractionFieldName
Set the interactionFieldName property: The field name on the Interaction Type.- Parameters:
interactionFieldName
- the interactionFieldName value to set.- Returns:
- the RelationshipLinkFieldMapping object itself.
-
linkType
Get the linkType property: Link type.- Returns:
- the linkType value.
-
withLinkType
Set the linkType property: Link type.- Parameters:
linkType
- the linkType value to set.- Returns:
- the RelationshipLinkFieldMapping object itself.
-
relationshipFieldName
Get the relationshipFieldName property: The field name on the Relationship metadata.- Returns:
- the relationshipFieldName value.
-
withRelationshipFieldName
Set the relationshipFieldName property: The field name on the Relationship metadata.- Parameters:
relationshipFieldName
- the relationshipFieldName value to set.- Returns:
- the RelationshipLinkFieldMapping object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-