@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ErrorDetails extends Object implements Serializable, Cloneable
Contains information about the reason that the operation failed.
This data type is used as a response element in the GetOrganizationsAccessReport, GetServiceLastAccessedDetails, and GetServiceLastAccessedDetailsWithEntities operations.
Constructor and Description |
---|
ErrorDetails() |
Modifier and Type | Method and Description |
---|---|
ErrorDetails |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code associated with the operation failure.
|
String |
getMessage()
Detailed information about the reason that the operation failed.
|
int |
hashCode() |
void |
setCode(String code)
The error code associated with the operation failure.
|
void |
setMessage(String message)
Detailed information about the reason that the operation failed.
|
String |
toString()
Returns a string representation of this object.
|
ErrorDetails |
withCode(String code)
The error code associated with the operation failure.
|
ErrorDetails |
withMessage(String message)
Detailed information about the reason that the operation failed.
|
public void setMessage(String message)
Detailed information about the reason that the operation failed.
message
- Detailed information about the reason that the operation failed.public String getMessage()
Detailed information about the reason that the operation failed.
public ErrorDetails withMessage(String message)
Detailed information about the reason that the operation failed.
message
- Detailed information about the reason that the operation failed.public void setCode(String code)
The error code associated with the operation failure.
code
- The error code associated with the operation failure.public String getCode()
The error code associated with the operation failure.
public ErrorDetails withCode(String code)
The error code associated with the operation failure.
code
- The error code associated with the operation failure.public String toString()
toString
in class Object
Object.toString()
public ErrorDetails clone()
Copyright © 2024. All rights reserved.