Class MicrosoftGraphLicenseAssignmentState

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphLicenseAssignmentState

public final class MicrosoftGraphLicenseAssignmentState extends Object
licenseAssignmentState.
  • Constructor Details

    • MicrosoftGraphLicenseAssignmentState

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

    • assignedByGroup

      public String assignedByGroup()
      Get the assignedByGroup property: The assignedByGroup property.
      Returns:
      the assignedByGroup value.
    • withAssignedByGroup

      public MicrosoftGraphLicenseAssignmentState withAssignedByGroup(String assignedByGroup)
      Set the assignedByGroup property: The assignedByGroup property.
      Parameters:
      assignedByGroup - the assignedByGroup value to set.
      Returns:
      the MicrosoftGraphLicenseAssignmentState object itself.
    • disabledPlans

      public List<UUID> disabledPlans()
      Get the disabledPlans property: The disabledPlans property.
      Returns:
      the disabledPlans value.
    • withDisabledPlans

      public MicrosoftGraphLicenseAssignmentState withDisabledPlans(List<UUID> disabledPlans)
      Set the disabledPlans property: The disabledPlans property.
      Parameters:
      disabledPlans - the disabledPlans value to set.
      Returns:
      the MicrosoftGraphLicenseAssignmentState object itself.
    • error

      public String error()
      Get the error property: The error property.
      Returns:
      the error value.
    • withError

      public MicrosoftGraphLicenseAssignmentState withError(String error)
      Set the error property: The error property.
      Parameters:
      error - the error value to set.
      Returns:
      the MicrosoftGraphLicenseAssignmentState object itself.
    • skuId

      public UUID skuId()
      Get the skuId property: The skuId property.
      Returns:
      the skuId value.
    • withSkuId

      public MicrosoftGraphLicenseAssignmentState withSkuId(UUID skuId)
      Set the skuId property: The skuId property.
      Parameters:
      skuId - the skuId value to set.
      Returns:
      the MicrosoftGraphLicenseAssignmentState object itself.
    • state

      public String state()
      Get the state property: The state property.
      Returns:
      the state value.
    • withState

      public MicrosoftGraphLicenseAssignmentState withState(String state)
      Set the state property: The state property.
      Parameters:
      state - the state value to set.
      Returns:
      the MicrosoftGraphLicenseAssignmentState object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: licenseAssignmentState.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphLicenseAssignmentState withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: licenseAssignmentState.
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphLicenseAssignmentState object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.