Class MicrosoftGraphLicenseDetails

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphLicenseDetails

public final class MicrosoftGraphLicenseDetails extends MicrosoftGraphEntity
licenseDetails.
  • Constructor Details

    • MicrosoftGraphLicenseDetails

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

    • servicePlans

      public List<MicrosoftGraphServicePlanInfo> servicePlans()
      Get the servicePlans property: Information about the service plans assigned with the license. Read-only, Not nullable.
      Returns:
      the servicePlans value.
    • withServicePlans

      public MicrosoftGraphLicenseDetails withServicePlans(List<MicrosoftGraphServicePlanInfo> servicePlans)
      Set the servicePlans property: Information about the service plans assigned with the license. Read-only, Not nullable.
      Parameters:
      servicePlans - the servicePlans value to set.
      Returns:
      the MicrosoftGraphLicenseDetails object itself.
    • skuId

      public UUID skuId()
      Get the skuId property: Unique identifier (GUID) for the service SKU. Equal to the skuId property on the related SubscribedSku object. Read-only.
      Returns:
      the skuId value.
    • withSkuId

      public MicrosoftGraphLicenseDetails withSkuId(UUID skuId)
      Set the skuId property: Unique identifier (GUID) for the service SKU. Equal to the skuId property on the related SubscribedSku object. Read-only.
      Parameters:
      skuId - the skuId value to set.
      Returns:
      the MicrosoftGraphLicenseDetails object itself.
    • skuPartNumber

      public String skuPartNumber()
      Get the skuPartNumber property: The skuPartNumber property.
      Returns:
      the skuPartNumber value.
    • withSkuPartNumber

      public MicrosoftGraphLicenseDetails withSkuPartNumber(String skuPartNumber)
      Set the skuPartNumber property: The skuPartNumber property.
      Parameters:
      skuPartNumber - the skuPartNumber value to set.
      Returns:
      the MicrosoftGraphLicenseDetails object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: licenseDetails.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphLicenseDetails withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: licenseDetails.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphLicenseDetails object itself.
    • withId

      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

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