Class SharingStatus
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.SharingStatus
-
public final class SharingStatus extends Object
Sharing status of current gallery.
-
-
Constructor Summary
Constructors Constructor Description SharingStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SharingStateaggregatedState()Get the aggregatedState property: The sharing state of the gallery.List<RegionalSharingStatus>summary()Get the summary property: Summary of all regional sharing status.voidvalidate()Validates the instance.SharingStatuswithSummary(List<RegionalSharingStatus> summary)Set the summary property: Summary of all regional sharing status.
-
-
-
Method Detail
-
aggregatedState
public SharingState aggregatedState()
Get the aggregatedState property: The sharing state of the gallery. Aggregated sharing state of current gallery.- Returns:
- the aggregatedState value.
-
summary
public List<RegionalSharingStatus> summary()
Get the summary property: Summary of all regional sharing status.- Returns:
- the summary value.
-
withSummary
public SharingStatus withSummary(List<RegionalSharingStatus> summary)
Set the summary property: Summary of all regional sharing status.- Parameters:
summary- the summary value to set.- Returns:
- the SharingStatus object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-