GalleryExtendedLocation Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. GalleryExtendedLocation
- com.
Implements
public final class GalleryExtendedLocation
implements JsonSerializable<GalleryExtendedLocation>
The name of the extended location.
Constructor Summary
Constructor | Description |
---|---|
GalleryExtendedLocation() |
Creates an instance of Gallery |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Gallery |
fromJson(JsonReader jsonReader)
Reads an instance of Gallery |
String |
name()
Get the name property: The name property. |
Json |
toJson(JsonWriter jsonWriter) |
Gallery |
type()
Get the type property: It is type of the extended location. |
void |
validate()
Validates the instance. |
Gallery |
withName(String name)
Set the name property: The name property. |
Gallery |
withType(GalleryExtendedLocationType type)
Set the type property: It is type of the extended location. |
Methods inherited from java.lang.Object
Constructor Details
GalleryExtendedLocation
public GalleryExtendedLocation()
Creates an instance of GalleryExtendedLocation class.
Method Details
fromJson
public static GalleryExtendedLocation fromJson(JsonReader jsonReader)
Reads an instance of GalleryExtendedLocation from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name property.
Returns:
toJson
type
public GalleryExtendedLocationType type()
Get the type property: It is type of the extended location.
Returns:
validate
public void validate()
Validates the instance.
withName
public GalleryExtendedLocation withName(String name)
Set the name property: The name property.
Parameters:
Returns:
withType
public GalleryExtendedLocation withType(GalleryExtendedLocationType type)
Set the type property: It is type of the extended location.
Parameters:
Returns:
Applies to
Azure SDK for Java