Class RelationshipLinkFieldMapping

java.lang.Object
com.azure.resourcemanager.customerinsights.models.RelationshipLinkFieldMapping

public final class RelationshipLinkFieldMapping extends Object
The fields mapping for Relationships.
  • Constructor Details

    • RelationshipLinkFieldMapping

      public RelationshipLinkFieldMapping()
      Creates an instance of RelationshipLinkFieldMapping class.
  • Method Details

    • interactionFieldName

      public String interactionFieldName()
      Get the interactionFieldName property: The field name on the Interaction Type.
      Returns:
      the interactionFieldName value.
    • withInteractionFieldName

      public RelationshipLinkFieldMapping withInteractionFieldName(String interactionFieldName)
      Set the interactionFieldName property: The field name on the Interaction Type.
      Parameters:
      interactionFieldName - the interactionFieldName value to set.
      Returns:
      the RelationshipLinkFieldMapping object itself.
    • linkType

      public LinkTypes linkType()
      Get the linkType property: Link type.
      Returns:
      the linkType value.
    • withLinkType

      public RelationshipLinkFieldMapping withLinkType(LinkTypes linkType)
      Set the linkType property: Link type.
      Parameters:
      linkType - the linkType value to set.
      Returns:
      the RelationshipLinkFieldMapping object itself.
    • relationshipFieldName

      public String relationshipFieldName()
      Get the relationshipFieldName property: The field name on the Relationship metadata.
      Returns:
      the relationshipFieldName value.
    • withRelationshipFieldName

      public RelationshipLinkFieldMapping withRelationshipFieldName(String relationshipFieldName)
      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.