Class ReferenceDataSetKeyProperty
java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.ReferenceDataSetKeyProperty
A key property for the reference data set. A reference data set can have multiple key properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ReferenceDataSetKeyProperty class. -
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: The name of the key property.type()
Get the type property: The type of the key property.void
validate()
Validates the instance.Set the name property: The name of the key property.Set the type property: The type of the key property.
-
Constructor Details
-
ReferenceDataSetKeyProperty
public ReferenceDataSetKeyProperty()Creates an instance of ReferenceDataSetKeyProperty class.
-
-
Method Details
-
name
Get the name property: The name of the key property.- Returns:
- the name value.
-
withName
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.
-