Class RelationshipTypeFieldMapping

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

public final class RelationshipTypeFieldMapping extends Object
Map a field of profile to its corresponding StrongId in Related Profile.
  • Constructor Details

    • RelationshipTypeFieldMapping

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

    • profileFieldName

      public String profileFieldName()
      Get the profileFieldName property: Specifies the fieldName in profile.
      Returns:
      the profileFieldName value.
    • withProfileFieldName

      public RelationshipTypeFieldMapping withProfileFieldName(String profileFieldName)
      Set the profileFieldName property: Specifies the fieldName in profile.
      Parameters:
      profileFieldName - the profileFieldName value to set.
      Returns:
      the RelationshipTypeFieldMapping object itself.
    • relatedProfileKeyProperty

      public String relatedProfileKeyProperty()
      Get the relatedProfileKeyProperty property: Specifies the KeyProperty (from StrongId) of the related profile.
      Returns:
      the relatedProfileKeyProperty value.
    • withRelatedProfileKeyProperty

      public RelationshipTypeFieldMapping withRelatedProfileKeyProperty(String relatedProfileKeyProperty)
      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.