TypePropertiesMapping Class

  • java.lang.Object
    • com.azure.resourcemanager.customerinsights.models.TypePropertiesMapping

public final class TypePropertiesMapping

Metadata for a Link's property mapping.

Constructor Summary

Constructor Description
TypePropertiesMapping()

Creates an instance of TypePropertiesMapping class.

Method Summary

Modifier and Type Method and Description
LinkTypes linkType()

Get the linkType property: Link type.

String sourcePropertyName()

Get the sourcePropertyName property: Property name on the source Entity Type.

String targetPropertyName()

Get the targetPropertyName property: Property name on the target Entity Type.

void validate()

Validates the instance.

TypePropertiesMapping withLinkType(LinkTypes linkType)

Set the linkType property: Link type.

TypePropertiesMapping withSourcePropertyName(String sourcePropertyName)

Set the sourcePropertyName property: Property name on the source Entity Type.

TypePropertiesMapping withTargetPropertyName(String targetPropertyName)

Set the targetPropertyName property: Property name on the target Entity Type.

Methods inherited from java.lang.Object

Constructor Details

TypePropertiesMapping

public TypePropertiesMapping()

Creates an instance of TypePropertiesMapping class.

Method Details

linkType

public LinkTypes linkType()

Get the linkType property: Link type.

Returns:

the linkType value.

sourcePropertyName

public String sourcePropertyName()

Get the sourcePropertyName property: Property name on the source Entity Type.

Returns:

the sourcePropertyName value.

targetPropertyName

public String targetPropertyName()

Get the targetPropertyName property: Property name on the target Entity Type.

Returns:

the targetPropertyName value.

validate

public void validate()

Validates the instance.

withLinkType

public TypePropertiesMapping withLinkType(LinkTypes linkType)

Set the linkType property: Link type.

Parameters:

linkType - the linkType value to set.

Returns:

the TypePropertiesMapping object itself.

withSourcePropertyName

public TypePropertiesMapping withSourcePropertyName(String sourcePropertyName)

Set the sourcePropertyName property: Property name on the source Entity Type.

Parameters:

sourcePropertyName - the sourcePropertyName value to set.

Returns:

the TypePropertiesMapping object itself.

withTargetPropertyName

public TypePropertiesMapping withTargetPropertyName(String targetPropertyName)

Set the targetPropertyName property: Property name on the target Entity Type.

Parameters:

targetPropertyName - the targetPropertyName value to set.

Returns:

the TypePropertiesMapping object itself.

Applies to