Class DataSourcePrecedence

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

public final class DataSourcePrecedence extends Object
The data source precedence is a way to know the precedence of each data source.
  • Constructor Details

    • DataSourcePrecedence

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

    • precedence

      public Integer precedence()
      Get the precedence property: the precedence value.
      Returns:
      the precedence value.
    • withPrecedence

      public DataSourcePrecedence withPrecedence(Integer precedence)
      Set the precedence property: the precedence value.
      Parameters:
      precedence - the precedence value to set.
      Returns:
      the DataSourcePrecedence object itself.
    • name

      public String name()
      Get the name property: The data source name.
      Returns:
      the name value.
    • dataSourceType

      public DataSourceType dataSourceType()
      Get the dataSourceType property: The data source type.
      Returns:
      the dataSourceType value.
    • status

      public Status status()
      Get the status property: The data source status.
      Returns:
      the status value.
    • id

      public Integer id()
      Get the id property: The data source ID.
      Returns:
      the id value.
    • dataSourceReferenceId

      public String dataSourceReferenceId()
      Get the dataSourceReferenceId property: The data source reference id.
      Returns:
      the dataSourceReferenceId value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.