Class MicrosoftGraphOnPremisesProvisioningError
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnPremisesProvisioningError
onPremisesProvisioningError.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphOnPremisesProvisioningError class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: onPremisesProvisioningError.category()Get the category property: Category of the provisioning error.Get the occurredDateTime property: The date and time at which the error occurred.Get the propertyCausingError property: Name of the directory property causing the error.voidvalidate()Validates the instance.value()Get the value property: Value of the property causing the error.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: onPremisesProvisioningError.withCategory(String category) Set the category property: Category of the provisioning error.withOccurredDateTime(OffsetDateTime occurredDateTime) Set the occurredDateTime property: The date and time at which the error occurred.withPropertyCausingError(String propertyCausingError) Set the propertyCausingError property: Name of the directory property causing the error.Set the value property: Value of the property causing the error.
-
Constructor Details
-
MicrosoftGraphOnPremisesProvisioningError
public MicrosoftGraphOnPremisesProvisioningError()Creates an instance of MicrosoftGraphOnPremisesProvisioningError class.
-
-
Method Details
-
category
Get the category property: Category of the provisioning error. Note: Currently, there is only one possible value. Possible value: PropertyConflict - indicates a property value is not unique. Other objects contain the same value for the property.- Returns:
- the category value.
-
withCategory
Set the category property: Category of the provisioning error. Note: Currently, there is only one possible value. Possible value: PropertyConflict - indicates a property value is not unique. Other objects contain the same value for the property.- Parameters:
category- the category value to set.- Returns:
- the MicrosoftGraphOnPremisesProvisioningError object itself.
-
occurredDateTime
Get the occurredDateTime property: The date and time at which the error occurred.- Returns:
- the occurredDateTime value.
-
withOccurredDateTime
public MicrosoftGraphOnPremisesProvisioningError withOccurredDateTime(OffsetDateTime occurredDateTime) Set the occurredDateTime property: The date and time at which the error occurred.- Parameters:
occurredDateTime- the occurredDateTime value to set.- Returns:
- the MicrosoftGraphOnPremisesProvisioningError object itself.
-
propertyCausingError
Get the propertyCausingError property: Name of the directory property causing the error. Current possible values: UserPrincipalName or ProxyAddress.- Returns:
- the propertyCausingError value.
-
withPropertyCausingError
public MicrosoftGraphOnPremisesProvisioningError withPropertyCausingError(String propertyCausingError) Set the propertyCausingError property: Name of the directory property causing the error. Current possible values: UserPrincipalName or ProxyAddress.- Parameters:
propertyCausingError- the propertyCausingError value to set.- Returns:
- the MicrosoftGraphOnPremisesProvisioningError object itself.
-
value
Get the value property: Value of the property causing the error.- Returns:
- the value value.
-
withValue
Set the value property: Value of the property causing the error.- Parameters:
value- the value value to set.- Returns:
- the MicrosoftGraphOnPremisesProvisioningError object itself.
-
additionalProperties
Get the additionalProperties property: onPremisesProvisioningError.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOnPremisesProvisioningError withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: onPremisesProvisioningError.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphOnPremisesProvisioningError object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-