public class ProblemDetail
extends java.lang.Object
implements java.io.Serializable
Information about a problem detail.
Constructor and Description |
---|
ProblemDetail() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMessage()
The problem detail's message.
|
int |
hashCode() |
void |
setMessage(java.lang.String message)
The problem detail's message.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ProblemDetail |
withMessage(java.lang.String message)
The problem detail's message.
|
public java.lang.String getMessage()
The problem detail's message.
Constraints:
Length: 1 - 256
The problem detail's message.
public void setMessage(java.lang.String message)
The problem detail's message.
Constraints:
Length: 1 - 256
message
- The problem detail's message.
public ProblemDetail withMessage(java.lang.String message)
The problem detail's message.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
message
- The problem detail's message.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.