Class RegionalSharingStatus
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.RegionalSharingStatus
-
public final class RegionalSharingStatus extends Object
Gallery regional sharing status.
-
-
Constructor Summary
Constructors Constructor Description RegionalSharingStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdetails()Get the details property: Details of gallery regional sharing failure.Stringregion()Get the region property: Region name.SharingStatestate()Get the state property: The sharing state of the gallery.voidvalidate()Validates the instance.RegionalSharingStatuswithDetails(String details)Set the details property: Details of gallery regional sharing failure.RegionalSharingStatuswithRegion(String region)Set the region property: Region name.
-
-
-
Method Detail
-
region
public String region()
Get the region property: Region name.- Returns:
- the region value.
-
withRegion
public RegionalSharingStatus withRegion(String region)
Set the region property: Region name.- Parameters:
region- the region value to set.- Returns:
- the RegionalSharingStatus object itself.
-
state
public SharingState state()
Get the state property: The sharing state of the gallery. Gallery sharing state in current region.- Returns:
- the state value.
-
details
public String details()
Get the details property: Details of gallery regional sharing failure.- Returns:
- the details value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-