Class MicrosoftGraphLicenseAssignmentState
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphLicenseAssignmentState
-
public final class MicrosoftGraphLicenseAssignmentState extends Object
licenseAssignmentState.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphLicenseAssignmentState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: licenseAssignmentState.String
assignedByGroup()
Get the assignedByGroup property: The assignedByGroup property.List<UUID>
disabledPlans()
Get the disabledPlans property: The disabledPlans property.String
error()
Get the error property: The error property.UUID
skuId()
Get the skuId property: The skuId property.String
state()
Get the state property: The state property.void
validate()
Validates the instance.MicrosoftGraphLicenseAssignmentState
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: licenseAssignmentState.MicrosoftGraphLicenseAssignmentState
withAssignedByGroup(String assignedByGroup)
Set the assignedByGroup property: The assignedByGroup property.MicrosoftGraphLicenseAssignmentState
withDisabledPlans(List<UUID> disabledPlans)
Set the disabledPlans property: The disabledPlans property.MicrosoftGraphLicenseAssignmentState
withError(String error)
Set the error property: The error property.MicrosoftGraphLicenseAssignmentState
withSkuId(UUID skuId)
Set the skuId property: The skuId property.MicrosoftGraphLicenseAssignmentState
withState(String state)
Set the state property: The state property.
-
-
-
Method Detail
-
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.
-
-