Class MicrosoftGraphLicenseDetailsInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphLicenseDetailsInner
-
public final class MicrosoftGraphLicenseDetailsInner extends MicrosoftGraphEntity
licenseDetails.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphLicenseDetailsInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: licenseDetails.List<MicrosoftGraphServicePlanInfo>
servicePlans()
Get the servicePlans property: Information about the service plans assigned with the license.UUID
skuId()
Get the skuId property: Unique identifier (GUID) for the service SKU.String
skuPartNumber()
Get the skuPartNumber property: Unique SKU display name.void
validate()
Validates the instance.MicrosoftGraphLicenseDetailsInner
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: licenseDetails.MicrosoftGraphLicenseDetailsInner
withId(String id)
Set the id property: Read-only.MicrosoftGraphLicenseDetailsInner
withServicePlans(List<MicrosoftGraphServicePlanInfo> servicePlans)
Set the servicePlans property: Information about the service plans assigned with the license.MicrosoftGraphLicenseDetailsInner
withSkuId(UUID skuId)
Set the skuId property: Unique identifier (GUID) for the service SKU.MicrosoftGraphLicenseDetailsInner
withSkuPartNumber(String skuPartNumber)
Set the skuPartNumber property: Unique SKU display name.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
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 MicrosoftGraphLicenseDetailsInner 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 MicrosoftGraphLicenseDetailsInner 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 MicrosoftGraphLicenseDetailsInner 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 MicrosoftGraphLicenseDetailsInner object itself.
-
skuPartNumber
public String skuPartNumber()
Get the skuPartNumber property: Unique SKU display name. Equal to the skuPartNumber on the related SubscribedSku object; for example: 'AAD_Premium'. Read-only.- Returns:
- the skuPartNumber value.
-
withSkuPartNumber
public MicrosoftGraphLicenseDetailsInner withSkuPartNumber(String skuPartNumber)
Set the skuPartNumber property: Unique SKU display name. Equal to the skuPartNumber on the related SubscribedSku object; for example: 'AAD_Premium'. Read-only.- Parameters:
skuPartNumber
- the skuPartNumber value to set.- Returns:
- the MicrosoftGraphLicenseDetailsInner object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: licenseDetails.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphLicenseDetailsInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: licenseDetails.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphLicenseDetailsInner object itself.
-
withId
public MicrosoftGraphLicenseDetailsInner withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-