Class TimeSeriesIdProperty
java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.TimeSeriesIdProperty
The structure of the property that a time series id can have. An environment can have multiple such properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: The name of the property.type()
Get the type property: The type of the property.void
validate()
Validates the instance.Set the name property: The name of the property.withType
(PropertyType type) Set the type property: The type of the property.
-
Constructor Details
-
TimeSeriesIdProperty
public TimeSeriesIdProperty()Creates an instance of TimeSeriesIdProperty class.
-
-
Method Details
-
name
Get the name property: The name of the property.- Returns:
- the name value.
-
withName
Set the name property: The name of the property.- Parameters:
name
- the name value to set.- Returns:
- the TimeSeriesIdProperty object itself.
-
type
Get the type property: The type of the property.- Returns:
- the type value.
-
withType
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.
-