SharingUpdateInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. fluent. models. SharingUpdateInner
- com.
Implements
public final class SharingUpdateInner
implements JsonSerializable<SharingUpdateInner>
Specifies information about the gallery sharing profile update.
Constructor Summary
Constructor | Description |
---|---|
SharingUpdateInner() |
Creates an instance of Sharing |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Sharing |
fromJson(JsonReader jsonReader)
Reads an instance of Sharing |
List<Sharing |
groups()
Get the groups property: A list of sharing profile groups. |
Sharing |
operationType()
Get the operation |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Sharing |
withGroups(List<SharingProfileGroup> groups)
Set the groups property: A list of sharing profile groups. |
Sharing |
withOperationType(SharingUpdateOperationTypes operationType)
Set the operation |
Methods inherited from java.lang.Object
Constructor Details
SharingUpdateInner
public SharingUpdateInner()
Creates an instance of SharingUpdateInner class.
Method Details
fromJson
public static SharingUpdateInner fromJson(JsonReader jsonReader)
Reads an instance of SharingUpdateInner from the JsonReader.
Parameters:
Returns:
Throws:
groups
public List
Get the groups property: A list of sharing profile groups.
Returns:
operationType
public SharingUpdateOperationTypes operationType()
Get the operationType property: This property allows you to specify the operation type of gallery sharing update. Possible values are: **Add,** **Remove,** **Reset.**.
Returns:
toJson
validate
public void validate()
Validates the instance.
withGroups
public SharingUpdateInner withGroups(List
Set the groups property: A list of sharing profile groups.
Parameters:
Returns:
withOperationType
public SharingUpdateInner withOperationType(SharingUpdateOperationTypes operationType)
Set the operationType property: This property allows you to specify the operation type of gallery sharing update. Possible values are: **Add,** **Remove,** **Reset.**.
Parameters:
Returns:
Applies to
Azure SDK for Java