Class TypePropertiesMapping
java.lang.Object
com.azure.resourcemanager.customerinsights.models.TypePropertiesMapping
Metadata for a Link's property mapping.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlinkType()
Get the linkType property: Link type.Get the sourcePropertyName property: Property name on the source Entity Type.Get the targetPropertyName property: Property name on the target Entity Type.void
validate()
Validates the instance.withLinkType
(LinkTypes linkType) Set the linkType property: Link type.withSourcePropertyName
(String sourcePropertyName) Set the sourcePropertyName property: Property name on the source Entity Type.withTargetPropertyName
(String targetPropertyName) Set the targetPropertyName property: Property name on the target Entity Type.
-
Constructor Details
-
TypePropertiesMapping
public TypePropertiesMapping()Creates an instance of TypePropertiesMapping class.
-
-
Method Details
-
sourcePropertyName
Get the sourcePropertyName property: Property name on the source Entity Type.- Returns:
- the sourcePropertyName value.
-
withSourcePropertyName
Set the sourcePropertyName property: Property name on the source Entity Type.- Parameters:
sourcePropertyName
- the sourcePropertyName value to set.- Returns:
- the TypePropertiesMapping object itself.
-
targetPropertyName
Get the targetPropertyName property: Property name on the target Entity Type.- Returns:
- the targetPropertyName value.
-
withTargetPropertyName
Set the targetPropertyName property: Property name on the target Entity Type.- Parameters:
targetPropertyName
- the targetPropertyName value to set.- Returns:
- the TypePropertiesMapping object itself.
-
linkType
Get the linkType property: Link type.- Returns:
- the linkType value.
-
withLinkType
Set the linkType property: Link type.- Parameters:
linkType
- the linkType value to set.- Returns:
- the TypePropertiesMapping object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-