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 Details

    • SharingUpdateInner

      public SharingUpdateInner()
      Creates an instance of SharingUpdateInner class.
  • Method Details

    • 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:
      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. Possible values are: **Add,** **Remove,** **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.