MicrosoftGraphOnPremisesProvisioningError Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOnPremisesProvisioningError

public final class MicrosoftGraphOnPremisesProvisioningError

onPremisesProvisioningError.

Constructor Summary

Constructor Description
MicrosoftGraphOnPremisesProvisioningError()

Creates an instance of MicrosoftGraphOnPremisesProvisioningError class.

Method Summary

Modifier and Type Method and 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.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphOnPremisesProvisioningError

public MicrosoftGraphOnPremisesProvisioningError()

Creates an instance of MicrosoftGraphOnPremisesProvisioningError class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: onPremisesProvisioningError.

Returns:

the additionalProperties value.

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.

occurredDateTime

public OffsetDateTime occurredDateTime()

Get the occurredDateTime property: The date and time at which the error occurred.

Returns:

the occurredDateTime value.

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.

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: Value of the property causing the error.

Returns:

the value value.

withAdditionalProperties

public MicrosoftGraphOnPremisesProvisioningError withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: onPremisesProvisioningError.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphOnPremisesProvisioningError object itself.

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.

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.

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.

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.

Applies to