@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailedReason extends Object implements Serializable, Cloneable, StructuredPojo
The failure reason, if any, for a create or delete endpoint operation.
Constructor and Description |
---|
FailedReason() |
Modifier and Type | Method and Description |
---|---|
FailedReason |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The failure code, if any, for a create or delete endpoint operation.
|
String |
getMessage()
Additional error details describing the endpoint failure and recommended action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The failure code, if any, for a create or delete endpoint operation.
|
void |
setMessage(String message)
Additional error details describing the endpoint failure and recommended action.
|
String |
toString()
Returns a string representation of this object.
|
FailedReason |
withErrorCode(String errorCode)
The failure code, if any, for a create or delete endpoint operation.
|
FailedReason |
withMessage(String message)
Additional error details describing the endpoint failure and recommended action.
|
public void setErrorCode(String errorCode)
The failure code, if any, for a create or delete endpoint operation.
errorCode
- The failure code, if any, for a create or delete endpoint operation.public String getErrorCode()
The failure code, if any, for a create or delete endpoint operation.
public FailedReason withErrorCode(String errorCode)
The failure code, if any, for a create or delete endpoint operation.
errorCode
- The failure code, if any, for a create or delete endpoint operation.public void setMessage(String message)
Additional error details describing the endpoint failure and recommended action.
message
- Additional error details describing the endpoint failure and recommended action.public String getMessage()
Additional error details describing the endpoint failure and recommended action.
public FailedReason withMessage(String message)
Additional error details describing the endpoint failure and recommended action.
message
- Additional error details describing the endpoint failure and recommended action.public String toString()
toString
in class Object
Object.toString()
public FailedReason clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.