Class ReferenceDataSetKeyProperty

java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.ReferenceDataSetKeyProperty

public final class ReferenceDataSetKeyProperty extends Object
A key property for the reference data set. A reference data set can have multiple key properties.
  • Constructor Details

    • ReferenceDataSetKeyProperty

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

    • name

      public String name()
      Get the name property: The name of the key property.
      Returns:
      the name value.
    • withName

      public ReferenceDataSetKeyProperty withName(String name)
      Set the name property: The name of the key property.
      Parameters:
      name - the name value to set.
      Returns:
      the ReferenceDataSetKeyProperty object itself.
    • type

      Get the type property: The type of the key property.
      Returns:
      the type value.
    • withType

      Set the type property: The type of the key property.
      Parameters:
      type - the type value to set.
      Returns:
      the ReferenceDataSetKeyProperty object itself.
    • validate

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