Partager via


GalleryIdentifier Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.GalleryIdentifier

Implements

public final class GalleryIdentifier
implements JsonSerializable<GalleryIdentifier>

Describes the gallery unique name.

Constructor Summary

Constructor Description
GalleryIdentifier()

Creates an instance of GalleryIdentifier class.

Method Summary

Modifier and Type Method and Description
static GalleryIdentifier fromJson(JsonReader jsonReader)

Reads an instance of GalleryIdentifier from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String uniqueName()

Get the uniqueName property: The unique name of the Shared Image Gallery.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

GalleryIdentifier

public GalleryIdentifier()

Creates an instance of GalleryIdentifier class.

Method Details

fromJson

public static GalleryIdentifier fromJson(JsonReader jsonReader)

Reads an instance of GalleryIdentifier from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of GalleryIdentifier if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the GalleryIdentifier.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uniqueName

public String uniqueName()

Get the uniqueName property: The unique name of the Shared Image Gallery. This name is generated automatically by Azure.

Returns:

the uniqueName value.

validate

public void validate()

Validates the instance.

Applies to