Class RelationshipTypeMapping
java.lang.Object
com.azure.resourcemanager.customerinsights.models.RelationshipTypeMapping
Maps fields in Profile to their corresponding StrongIds in Related Profile.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RelationshipTypeMapping class. -
Method Summary
Modifier and TypeMethodDescriptionGet the fieldMappings property: Maps a profile property with the StrongId of related profile.void
validate()
Validates the instance.withFieldMappings
(List<RelationshipTypeFieldMapping> fieldMappings) Set the fieldMappings property: Maps a profile property with the StrongId of related profile.
-
Constructor Details
-
RelationshipTypeMapping
public RelationshipTypeMapping()Creates an instance of RelationshipTypeMapping class.
-
-
Method Details
-
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
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.
-