Class AzureTrackedResourceLocation
java.lang.Object
com.azure.resourcemanager.security.models.AzureTrackedResourceLocation
Describes an Azure resource with location.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlocation()
Get the location property: Location where the resource is stored.void
validate()
Validates the instance.withLocation
(String location) Set the location property: Location where the resource is stored.
-
Constructor Details
-
AzureTrackedResourceLocation
public AzureTrackedResourceLocation()
-
-
Method Details
-
location
Get the location property: Location where the resource is stored.- Returns:
- the location value.
-
withLocation
Set the location property: Location where the resource is stored.- Parameters:
location
- the location value to set.- Returns:
- the AzureTrackedResourceLocation object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-