@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchCreateChannelMembershipError extends Object implements Serializable, Cloneable, StructuredPojo
A list of failed member ARNs, error codes, and error messages.
Constructor and Description |
---|
BatchCreateChannelMembershipError() |
Modifier and Type | Method and Description |
---|---|
BatchCreateChannelMembershipError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code.
|
String |
getErrorMessage()
The error message.
|
String |
getMemberArn()
The ARN of the member that the service couldn't add.
|
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 |
setMemberArn(String memberArn)
The ARN of the member that the service couldn't add.
|
String |
toString()
Returns a string representation of this object.
|
BatchCreateChannelMembershipError |
withErrorCode(ErrorCode errorCode)
The error code.
|
BatchCreateChannelMembershipError |
withErrorCode(String errorCode)
The error code.
|
BatchCreateChannelMembershipError |
withErrorMessage(String errorMessage)
The error message.
|
BatchCreateChannelMembershipError |
withMemberArn(String memberArn)
The ARN of the member that the service couldn't add.
|
public void setMemberArn(String memberArn)
The ARN of the member that the service couldn't add.
memberArn
- The ARN of the member that the service couldn't add.public String getMemberArn()
The ARN of the member that the service couldn't add.
public BatchCreateChannelMembershipError withMemberArn(String memberArn)
The ARN of the member that the service couldn't add.
memberArn
- The ARN of the member that the service couldn't add.public void setErrorCode(String errorCode)
The error code.
errorCode
- The error code.ErrorCode
public String getErrorCode()
The error code.
ErrorCode
public BatchCreateChannelMembershipError withErrorCode(String errorCode)
The error code.
errorCode
- The error code.ErrorCode
public BatchCreateChannelMembershipError 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 BatchCreateChannelMembershipError withErrorMessage(String errorMessage)
The error message.
errorMessage
- The error message.public String toString()
toString
in class Object
Object.toString()
public BatchCreateChannelMembershipError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.