Поделиться через


GalleryProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.devcenter.fluent.models.GalleryProperties

Implements

public final class GalleryProperties
implements JsonSerializable<GalleryProperties>

Properties of a gallery.

Constructor Summary

Constructor Description
GalleryProperties()

Creates an instance of GalleryProperties class.

Method Summary

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

Reads an instance of GalleryProperties from the JsonReader.

String galleryResourceId()

Get the galleryResourceId property: The resource ID of the backing Azure Compute Gallery.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GalleryProperties withGalleryResourceId(String galleryResourceId)

Set the galleryResourceId property: The resource ID of the backing Azure Compute Gallery.

Methods inherited from java.lang.Object

Constructor Details

GalleryProperties

public GalleryProperties()

Creates an instance of GalleryProperties class.

Method Details

fromJson

public static GalleryProperties fromJson(JsonReader jsonReader)

Reads an instance of GalleryProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

galleryResourceId

public String galleryResourceId()

Get the galleryResourceId property: The resource ID of the backing Azure Compute Gallery.

Returns:

the galleryResourceId value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withGalleryResourceId

public GalleryProperties withGalleryResourceId(String galleryResourceId)

Set the galleryResourceId property: The resource ID of the backing Azure Compute Gallery.

Parameters:

galleryResourceId - the galleryResourceId value to set.

Returns:

the GalleryProperties object itself.

Applies to