Class ExtendedLocation
java.lang.Object
com.azure.resourcemanager.resources.models.ExtendedLocation
Resource extended location.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()Get the name property: The extended location name.type()Get the type property: The extended location type.voidvalidate()Validates the instance.Set the name property: The extended location name.withType(ExtendedLocationType type) Set the type property: The extended location type.
-
Constructor Details
-
ExtendedLocation
public ExtendedLocation()Creates an instance of ExtendedLocation class.
-
-
Method Details
-
type
Get the type property: The extended location type.- Returns:
- the type value.
-
withType
Set the type property: The extended location type.- Parameters:
type- the type value to set.- Returns:
- the ExtendedLocation object itself.
-
name
Get the name property: The extended location name.- Returns:
- the name value.
-
withName
Set the name property: The extended location name.- Parameters:
name- the name value to set.- Returns:
- the ExtendedLocation object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-