ErrorDetails Class

  • java.lang.Object
    • com.microsoft.azure.management.resourcegraph.v2019_04_01.ErrorDetails

public class ErrorDetails

Error details.

Constructor Summary

Constructor Description
ErrorDetails()

Method Summary

Modifier and Type Method and Description
java.util.Map<java.lang.String,java.lang.Object> additionalProperties()

Get unmatched properties from the message are deserialized this collection.

java.lang.String code()

Get error code identifying the specific error.

java.lang.String message()

Get a human readable error message.

ErrorDetails withAdditionalProperties(Map<String,Object> additionalProperties)

Set unmatched properties from the message are deserialized this collection.

ErrorDetails withCode(String code)

Set error code identifying the specific error.

ErrorDetails withMessage(String message)

Set a human readable error message.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ErrorDetails

public ErrorDetails()

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get unmatched properties from the message are deserialized this collection.

Returns:

the additionalProperties value

code

public String code()

Get error code identifying the specific error.

Returns:

the code value

message

public String message()

Get a human readable error message.

Returns:

the message value

withAdditionalProperties

public ErrorDetails withAdditionalProperties(Map<String,Object> additionalProperties)

Set unmatched properties from the message are deserialized this collection.

Parameters:

additionalProperties - the additionalProperties value to set

Returns:

the ErrorDetails object itself.

withCode

public ErrorDetails withCode(String code)

Set error code identifying the specific error.

Parameters:

code - the code value to set

Returns:

the ErrorDetails object itself.

withMessage

public ErrorDetails withMessage(String message)

Set a human readable error message.

Parameters:

message - the message value to set

Returns:

the ErrorDetails object itself.

Applies to