Class SharingUpdateInner
- java.lang.Object
-
- com.azure.resourcemanager.compute.fluent.models.SharingUpdateInner
-
public final class SharingUpdateInner extends Object
Specifies information about the gallery sharing profile update.
-
-
Constructor Summary
Constructors Constructor Description SharingUpdateInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SharingProfileGroup>groups()Get the groups property: A list of sharing profile groups.SharingUpdateOperationTypesoperationType()Get the operationType property: This property allows you to specify the operation type of gallery sharing update.voidvalidate()Validates the instance.SharingUpdateInnerwithGroups(List<SharingProfileGroup> groups)Set the groups property: A list of sharing profile groups.SharingUpdateInnerwithOperationType(SharingUpdateOperationTypes operationType)Set the operationType property: This property allows you to specify the operation type of gallery sharing update.
-
-
-
Method Detail
-
operationType
public SharingUpdateOperationTypes 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
public SharingUpdateInner withOperationType(SharingUpdateOperationTypes operationType)
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
public List<SharingProfileGroup> groups()
Get the groups property: A list of sharing profile groups.- Returns:
- the groups value.
-
withGroups
public SharingUpdateInner withGroups(List<SharingProfileGroup> groups)
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.
-
-