MicrosoftGraphOnPremisesProvisioningError Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphOnPremisesProvisioningError
- com.
Implements
public final class MicrosoftGraphOnPremisesProvisioningError
implements JsonSerializable<MicrosoftGraphOnPremisesProvisioningError>
onPremisesProvisioningError.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphOnPremisesProvisioningError() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
category()
Get the category property: Category of the provisioning error. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Offset |
occurredDateTime()
Get the occurred |
String |
propertyCausingError()
Get the property |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: Value of the property causing the error. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withCategory(String category)
Set the category property: Category of the provisioning error. |
Microsoft |
withOccurredDateTime(OffsetDateTime occurredDateTime)
Set the occurred |
Microsoft |
withPropertyCausingError(String propertyCausingError)
Set the property |
Microsoft |
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
Get the additionalProperties property: onPremisesProvisioningError.
Returns:
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:
fromJson
public static MicrosoftGraphOnPremisesProvisioningError fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphOnPremisesProvisioningError from the JsonReader.
Parameters:
Returns:
Throws:
occurredDateTime
public OffsetDateTime occurredDateTime()
Get the occurredDateTime property: The date and time at which the error occurred.
Returns:
propertyCausingError
public String propertyCausingError()
Get the propertyCausingError property: Name of the directory property causing the error. Current possible values: UserPrincipalName or ProxyAddress.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Value of the property causing the error.
Returns:
withAdditionalProperties
public MicrosoftGraphOnPremisesProvisioningError withAdditionalProperties(Map
Set the additionalProperties property: onPremisesProvisioningError.
Parameters:
Returns:
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:
Returns:
withOccurredDateTime
public MicrosoftGraphOnPremisesProvisioningError withOccurredDateTime(OffsetDateTime occurredDateTime)
Set the occurredDateTime property: The date and time at which the error occurred.
Parameters:
Returns:
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:
Returns:
withValue
public MicrosoftGraphOnPremisesProvisioningError withValue(String value)
Set the value property: Value of the property causing the error.
Parameters:
Returns:
Applies to
Azure SDK for Java