Class GalleryExtendedLocation
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.GalleryExtendedLocation
-
public final class GalleryExtendedLocation extends Object
The name of the extended location.
-
-
Constructor Summary
Constructors Constructor Description GalleryExtendedLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name property: The name property.GalleryExtendedLocationTypetype()Get the type property: It is type of the extended location.voidvalidate()Validates the instance.GalleryExtendedLocationwithName(String name)Set the name property: The name property.GalleryExtendedLocationwithType(GalleryExtendedLocationType type)Set the type property: It is type of the extended location.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name property.- Returns:
- the name value.
-
withName
public GalleryExtendedLocation withName(String name)
Set the name property: The name property.- Parameters:
name- the name value to set.- Returns:
- the GalleryExtendedLocation object itself.
-
type
public GalleryExtendedLocationType type()
Get the type property: It is type of the extended location.- Returns:
- the type value.
-
withType
public GalleryExtendedLocation withType(GalleryExtendedLocationType type)
Set the type property: It is type of the extended location.- Parameters:
type- the type value to set.- Returns:
- the GalleryExtendedLocation object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-