Class CreateOrUpdateTrackedResourceProperties
java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.CreateOrUpdateTrackedResourceProperties
- Direct Known Subclasses:
EnvironmentCreateOrUpdateParameters
,EventSourceCreateOrUpdateParameters
,ReferenceDataSetCreateOrUpdateParameters
Properties required to create any resource tracked by Azure Resource Manager.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CreateOrUpdateTrackedResourceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionlocation()
Get the location property: The location of the resource.tags()
Get the tags property: Key-value pairs of additional properties for the resource.void
validate()
Validates the instance.withLocation
(String location) Set the location property: The location of the resource.Set the tags property: Key-value pairs of additional properties for the resource.
-
Constructor Details
-
CreateOrUpdateTrackedResourceProperties
public CreateOrUpdateTrackedResourceProperties()Creates an instance of CreateOrUpdateTrackedResourceProperties class.
-
-
Method Details
-
location
Get the location property: The location of the resource.- Returns:
- the location value.
-
withLocation
Set the location property: The location of the resource.- Parameters:
location
- the location value to set.- Returns:
- the CreateOrUpdateTrackedResourceProperties object itself.
-
tags
Get the tags property: Key-value pairs of additional properties for the resource.- Returns:
- the tags value.
-
withTags
Set the tags property: Key-value pairs of additional properties for the resource.- Parameters:
tags
- the tags value to set.- Returns:
- the CreateOrUpdateTrackedResourceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-