你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphOnPremisesProvisioningError Class

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

Implements

public final class MicrosoftGraphOnPremisesProvisioningError
implements JsonSerializable<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.

static MicrosoftGraphOnPremisesProvisioningError fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOnPremisesProvisioningError from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
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.

fromJson

public static MicrosoftGraphOnPremisesProvisioningError fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOnPremisesProvisioningError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphOnPremisesProvisioningError if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphOnPremisesProvisioningError.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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