Class ExtendedLocation
- java.lang.Object
-
- com.azure.resourcemanager.resources.models.ExtendedLocation
-
public final class ExtendedLocation extends Object
Resource extended location.
-
-
Constructor Summary
Constructors Constructor Description ExtendedLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name property: The extended location name.ExtendedLocationTypetype()Get the type property: The extended location type.voidvalidate()Validates the instance.ExtendedLocationwithName(String name)Set the name property: The extended location name.ExtendedLocationwithType(ExtendedLocationType type)Set the type property: The extended location type.
-
-
-
Method Detail
-
type
public ExtendedLocationType type()
Get the type property: The extended location type.- Returns:
- the type value.
-
withType
public ExtendedLocation withType(ExtendedLocationType type)
Set the type property: The extended location type.- Parameters:
type- the type value to set.- Returns:
- the ExtendedLocation object itself.
-
name
public String name()
Get the name property: The extended location name.- Returns:
- the name value.
-
withName
public ExtendedLocation withName(String name)
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.
-
-