Class RelationshipLinkDefinition
java.lang.Object
com.azure.resourcemanager.customerinsights.fluent.models.RelationshipLinkDefinition
The definition of relationship link.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RelationshipLinkDefinition class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Localized descriptions for the Relationship Link.Get the displayName property: Localized display name for the Relationship Link.Get the interactionType property: The InteractionType associated with the Relationship Link.linkName()
Get the linkName property: The name of the Relationship Link.mappings()
Get the mappings property: The mappings between Interaction and Relationship fields.Get the profilePropertyReferences property: The property references for the Profile of the Relationship.Get the provisioningState property: Provisioning state.Get the relatedProfilePropertyReferences property: The property references for the Related Profile of the Relationship.Get the relationshipGuidId property: The relationship guid id.Get the relationshipName property: The Relationship associated with the Link.tenantId()
Get the tenantId property: The hub name.void
validate()
Validates the instance.withDescription
(Map<String, String> description) Set the description property: Localized descriptions for the Relationship Link.withDisplayName
(Map<String, String> displayName) Set the displayName property: Localized display name for the Relationship Link.withInteractionType
(String interactionType) Set the interactionType property: The InteractionType associated with the Relationship Link.withMappings
(List<RelationshipLinkFieldMapping> mappings) Set the mappings property: The mappings between Interaction and Relationship fields.withProfilePropertyReferences
(List<ParticipantProfilePropertyReference> profilePropertyReferences) Set the profilePropertyReferences property: The property references for the Profile of the Relationship.withRelatedProfilePropertyReferences
(List<ParticipantProfilePropertyReference> relatedProfilePropertyReferences) Set the relatedProfilePropertyReferences property: The property references for the Related Profile of the Relationship.withRelationshipName
(String relationshipName) Set the relationshipName property: The Relationship associated with the Link.
-
Constructor Details
-
RelationshipLinkDefinition
public RelationshipLinkDefinition()Creates an instance of RelationshipLinkDefinition class.
-
-
Method Details
-
displayName
Get the displayName property: Localized display name for the Relationship Link.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Localized display name for the Relationship Link.- Parameters:
displayName
- the displayName value to set.- Returns:
- the RelationshipLinkDefinition object itself.
-
description
Get the description property: Localized descriptions for the Relationship Link.- Returns:
- the description value.
-
withDescription
Set the description property: Localized descriptions for the Relationship Link.- Parameters:
description
- the description value to set.- Returns:
- the RelationshipLinkDefinition object itself.
-
interactionType
Get the interactionType property: The InteractionType associated with the Relationship Link.- Returns:
- the interactionType value.
-
withInteractionType
Set the interactionType property: The InteractionType associated with the Relationship Link.- Parameters:
interactionType
- the interactionType value to set.- Returns:
- the RelationshipLinkDefinition object itself.
-
linkName
Get the linkName property: The name of the Relationship Link.- Returns:
- the linkName value.
-
mappings
Get the mappings property: The mappings between Interaction and Relationship fields.- Returns:
- the mappings value.
-
withMappings
Set the mappings property: The mappings between Interaction and Relationship fields.- Parameters:
mappings
- the mappings value to set.- Returns:
- the RelationshipLinkDefinition object itself.
-
profilePropertyReferences
Get the profilePropertyReferences property: The property references for the Profile of the Relationship.- Returns:
- the profilePropertyReferences value.
-
withProfilePropertyReferences
public RelationshipLinkDefinition withProfilePropertyReferences(List<ParticipantProfilePropertyReference> profilePropertyReferences) Set the profilePropertyReferences property: The property references for the Profile of the Relationship.- Parameters:
profilePropertyReferences
- the profilePropertyReferences value to set.- Returns:
- the RelationshipLinkDefinition object itself.
-
provisioningState
Get the provisioningState property: Provisioning state.- Returns:
- the provisioningState value.
-
withRelatedProfilePropertyReferences
public RelationshipLinkDefinition withRelatedProfilePropertyReferences(List<ParticipantProfilePropertyReference> relatedProfilePropertyReferences) Set the relatedProfilePropertyReferences property: The property references for the Related Profile of the Relationship.- Parameters:
relatedProfilePropertyReferences
- the relatedProfilePropertyReferences value to set.- Returns:
- the RelationshipLinkDefinition object itself.
-
relationshipName
Get the relationshipName property: The Relationship associated with the Link.- Returns:
- the relationshipName value.
-
withRelationshipName
Set the relationshipName property: The Relationship associated with the Link.- Parameters:
relationshipName
- the relationshipName value to set.- Returns:
- the RelationshipLinkDefinition object itself.
-
relationshipGuidId
Get the relationshipGuidId property: The relationship guid id.- Returns:
- the relationshipGuidId value.
-
tenantId
Get the tenantId property: The hub name.- Returns:
- the tenantId value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-