@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchCreateRoomMembershipResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchCreateRoomMembershipResult() |
Modifier and Type | Method and Description |
---|---|
BatchCreateRoomMembershipResult |
clone() |
boolean |
equals(Object obj) |
List<MemberError> |
getErrors()
If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along
with error codes and error messages.
|
int |
hashCode() |
void |
setErrors(Collection<MemberError> errors)
If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along
with error codes and error messages.
|
String |
toString()
Returns a string representation of this object.
|
BatchCreateRoomMembershipResult |
withErrors(Collection<MemberError> errors)
If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along
with error codes and error messages.
|
BatchCreateRoomMembershipResult |
withErrors(MemberError... errors)
If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along
with error codes and error messages.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<MemberError> getErrors()
If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along with error codes and error messages.
public void setErrors(Collection<MemberError> errors)
If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along with error codes and error messages.
errors
- If the action fails for one or more of the member IDs in the request, a list of the member IDs is
returned, along with error codes and error messages.public BatchCreateRoomMembershipResult withErrors(MemberError... errors)
If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along with error codes and error messages.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- If the action fails for one or more of the member IDs in the request, a list of the member IDs is
returned, along with error codes and error messages.public BatchCreateRoomMembershipResult withErrors(Collection<MemberError> errors)
If the action fails for one or more of the member IDs in the request, a list of the member IDs is returned, along with error codes and error messages.
errors
- If the action fails for one or more of the member IDs in the request, a list of the member IDs is
returned, along with error codes and error messages.public String toString()
toString
in class Object
Object.toString()
public BatchCreateRoomMembershipResult clone()