Class RelationshipTypeMapping

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

public final class RelationshipTypeMapping extends Object
Maps fields in Profile to their corresponding StrongIds in Related Profile.
  • Constructor Details

    • RelationshipTypeMapping

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

    • fieldMappings

      public List<RelationshipTypeFieldMapping> fieldMappings()
      Get the fieldMappings property: Maps a profile property with the StrongId of related profile. This is an array to support StrongIds that are composite key as well.
      Returns:
      the fieldMappings value.
    • withFieldMappings

      public RelationshipTypeMapping withFieldMappings(List<RelationshipTypeFieldMapping> fieldMappings)
      Set the fieldMappings property: Maps a profile property with the StrongId of related profile. This is an array to support StrongIds that are composite key as well.
      Parameters:
      fieldMappings - the fieldMappings value to set.
      Returns:
      the RelationshipTypeMapping object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.