Class SharingUpdateInner
java.lang.Object
com.azure.resourcemanager.compute.fluent.models.SharingUpdateInner
Specifies information about the gallery sharing profile update.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongroups()Get the groups property: A list of sharing profile groups.Get the operationType property: This property allows you to specify the operation type of gallery sharing update.voidvalidate()Validates the instance.withGroups(List<SharingProfileGroup> groups) Set the groups property: A list of sharing profile groups.withOperationType(SharingUpdateOperationTypes operationType) Set the operationType property: This property allows you to specify the operation type of gallery sharing update.
-
Constructor Details
-
SharingUpdateInner
public SharingUpdateInner()
-
-
Method Details
-
operationType
Get the operationType property: This property allows you to specify the operation type of gallery sharing update. <br><br> Possible values are: <br><br> **Add** <br><br> **Remove** <br><br> **Reset**.- Returns:
- the operationType value.
-
withOperationType
Set the operationType property: This property allows you to specify the operation type of gallery sharing update. <br><br> Possible values are: <br><br> **Add** <br><br> **Remove** <br><br> **Reset**.- Parameters:
operationType- the operationType value to set.- Returns:
- the SharingUpdateInner object itself.
-
groups
Get the groups property: A list of sharing profile groups.- Returns:
- the groups value.
-
withGroups
Set the groups property: A list of sharing profile groups.- Parameters:
groups- the groups value to set.- Returns:
- the SharingUpdateInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-