Class MicrosoftGraphOnPremisesProvisioningError
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnPremisesProvisioningError
-
public final class MicrosoftGraphOnPremisesProvisioningError extends Object
onPremisesProvisioningError.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphOnPremisesProvisioningError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: onPremisesProvisioningError.String
category()
Get the category property: Category of the provisioning error.OffsetDateTime
occurredDateTime()
Get the occurredDateTime property: The date and time at which the error occurred.String
propertyCausingError()
Get the propertyCausingError property: Name of the directory property causing the error.void
validate()
Validates the instance.String
value()
Get the value property: Value of the property causing the error.MicrosoftGraphOnPremisesProvisioningError
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: onPremisesProvisioningError.MicrosoftGraphOnPremisesProvisioningError
withCategory(String category)
Set the category property: Category of the provisioning error.MicrosoftGraphOnPremisesProvisioningError
withOccurredDateTime(OffsetDateTime occurredDateTime)
Set the occurredDateTime property: The date and time at which the error occurred.MicrosoftGraphOnPremisesProvisioningError
withPropertyCausingError(String propertyCausingError)
Set the propertyCausingError property: Name of the directory property causing the error.MicrosoftGraphOnPremisesProvisioningError
withValue(String value)
Set the value property: Value of the property causing the error.
-
-
-
Method Detail
-
category
public String 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
public MicrosoftGraphOnPremisesProvisioningError withCategory(String category)
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
public OffsetDateTime 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
public String 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
public String value()
Get the value property: Value of the property causing the error.- Returns:
- the value value.
-
withValue
public MicrosoftGraphOnPremisesProvisioningError withValue(String value)
Set the value property: Value of the property causing the error.- Parameters:
value
- the value value to set.- Returns:
- the MicrosoftGraphOnPremisesProvisioningError object itself.
-
additionalProperties
public Map<String,Object> 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.
-
-