Class TypePropertiesMapping

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

public final class TypePropertiesMapping extends Object
Metadata for a Link's property mapping.
  • Constructor Details

    • TypePropertiesMapping

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

    • sourcePropertyName

      public String sourcePropertyName()
      Get the sourcePropertyName property: Property name on the source Entity Type.
      Returns:
      the sourcePropertyName value.
    • 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.
    • targetPropertyName

      public String targetPropertyName()
      Get the targetPropertyName property: Property name on the target Entity Type.
      Returns:
      the targetPropertyName value.
    • 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.
    • linkType

      public LinkTypes linkType()
      Get the linkType property: Link type.
      Returns:
      the linkType value.
    • withLinkType

      public TypePropertiesMapping withLinkType(LinkTypes linkType)
      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.