Class TimeSeriesIdProperty

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

public final class TimeSeriesIdProperty extends Object
The structure of the property that a time series id can have. An environment can have multiple such properties.
  • Constructor Details

    • TimeSeriesIdProperty

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

    • name

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

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

      public PropertyType type()
      Get the type property: The type of the property.
      Returns:
      the type value.
    • withType

      public TimeSeriesIdProperty withType(PropertyType type)
      Set the type property: The type of the property.
      Parameters:
      type - the type value to set.
      Returns:
      the TimeSeriesIdProperty object itself.
    • validate

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