@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MemberError extends Object implements Serializable, Cloneable, StructuredPojo
The list of errors returned when a member action results in an error.
Constructor and Description |
---|
MemberError() |
Modifier and Type | Method and Description |
---|---|
MemberError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code.
|
String |
getErrorMessage()
The error message.
|
String |
getMemberId()
The member ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error code.
|
void |
setErrorMessage(String errorMessage)
The error message.
|
void |
setMemberId(String memberId)
The member ID.
|
String |
toString()
Returns a string representation of this object.
|
MemberError |
withErrorCode(ErrorCode errorCode)
The error code.
|
MemberError |
withErrorCode(String errorCode)
The error code.
|
MemberError |
withErrorMessage(String errorMessage)
The error message.
|
MemberError |
withMemberId(String memberId)
The member ID.
|
public void setMemberId(String memberId)
The member ID.
memberId
- The member ID.public String getMemberId()
The member ID.
public MemberError withMemberId(String memberId)
The member ID.
memberId
- The member ID.public void setErrorCode(String errorCode)
The error code.
errorCode
- The error code.ErrorCode
public String getErrorCode()
The error code.
ErrorCode
public MemberError withErrorCode(String errorCode)
The error code.
errorCode
- The error code.ErrorCode
public MemberError withErrorCode(ErrorCode errorCode)
The error code.
errorCode
- The error code.ErrorCode
public void setErrorMessage(String errorMessage)
The error message.
errorMessage
- The error message.public String getErrorMessage()
The error message.
public MemberError withErrorMessage(String errorMessage)
The error message.
errorMessage
- The error message.public String toString()
toString
in class Object
Object.toString()
public MemberError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.