다음을 통해 공유


RegionalSharingStatus Class

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

Implements

public final class RegionalSharingStatus
implements JsonSerializable<RegionalSharingStatus>

Gallery regional sharing status.

Constructor Summary

Constructor Description
RegionalSharingStatus()

Creates an instance of RegionalSharingStatus class.

Method Summary

Modifier and Type Method and Description
String details()

Get the details property: Details of gallery regional sharing failure.

static RegionalSharingStatus fromJson(JsonReader jsonReader)

Reads an instance of RegionalSharingStatus from the JsonReader.

String region()

Get the region property: Region name.

SharingState state()

Get the state property: Gallery sharing state in current region.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RegionalSharingStatus withDetails(String details)

Set the details property: Details of gallery regional sharing failure.

RegionalSharingStatus withRegion(String region)

Set the region property: Region name.

Methods inherited from java.lang.Object

Constructor Details

RegionalSharingStatus

public RegionalSharingStatus()

Creates an instance of RegionalSharingStatus class.

Method Details

details

public String details()

Get the details property: Details of gallery regional sharing failure.

Returns:

the details value.

fromJson

public static RegionalSharingStatus fromJson(JsonReader jsonReader)

Reads an instance of RegionalSharingStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RegionalSharingStatus 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 RegionalSharingStatus.

region

public String region()

Get the region property: Region name.

Returns:

the region value.

state

public SharingState state()

Get the state property: Gallery sharing state in current region.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDetails

public RegionalSharingStatus withDetails(String details)

Set the details property: Details of gallery regional sharing failure.

Parameters:

details - the details value to set.

Returns:

the RegionalSharingStatus object itself.

withRegion

public RegionalSharingStatus withRegion(String region)

Set the region property: Region name.

Parameters:

region - the region value to set.

Returns:

the RegionalSharingStatus object itself.

Applies to