@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchCreateChannelMembershipResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchCreateChannelMembershipResult() |
Modifier and Type | Method and Description |
---|---|
BatchCreateChannelMembershipResult |
clone() |
boolean |
equals(Object obj) |
BatchChannelMemberships |
getBatchChannelMemberships()
The list of channel memberships in the response.
|
List<BatchCreateChannelMembershipError> |
getErrors()
If the action fails for one or more of the memberships in the request, a list of the memberships is returned,
along with error codes and error messages.
|
int |
hashCode() |
void |
setBatchChannelMemberships(BatchChannelMemberships batchChannelMemberships)
The list of channel memberships in the response.
|
void |
setErrors(Collection<BatchCreateChannelMembershipError> errors)
If the action fails for one or more of the memberships in the request, a list of the memberships is returned,
along with error codes and error messages.
|
String |
toString()
Returns a string representation of this object.
|
BatchCreateChannelMembershipResult |
withBatchChannelMemberships(BatchChannelMemberships batchChannelMemberships)
The list of channel memberships in the response.
|
BatchCreateChannelMembershipResult |
withErrors(BatchCreateChannelMembershipError... errors)
If the action fails for one or more of the memberships in the request, a list of the memberships is returned,
along with error codes and error messages.
|
BatchCreateChannelMembershipResult |
withErrors(Collection<BatchCreateChannelMembershipError> errors)
If the action fails for one or more of the memberships in the request, a list of the memberships is returned,
along with error codes and error messages.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBatchChannelMemberships(BatchChannelMemberships batchChannelMemberships)
The list of channel memberships in the response.
batchChannelMemberships
- The list of channel memberships in the response.public BatchChannelMemberships getBatchChannelMemberships()
The list of channel memberships in the response.
public BatchCreateChannelMembershipResult withBatchChannelMemberships(BatchChannelMemberships batchChannelMemberships)
The list of channel memberships in the response.
batchChannelMemberships
- The list of channel memberships in the response.public List<BatchCreateChannelMembershipError> getErrors()
If the action fails for one or more of the memberships in the request, a list of the memberships is returned, along with error codes and error messages.
public void setErrors(Collection<BatchCreateChannelMembershipError> errors)
If the action fails for one or more of the memberships in the request, a list of the memberships is returned, along with error codes and error messages.
errors
- If the action fails for one or more of the memberships in the request, a list of the memberships is
returned, along with error codes and error messages.public BatchCreateChannelMembershipResult withErrors(BatchCreateChannelMembershipError... errors)
If the action fails for one or more of the memberships in the request, a list of the memberships 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 memberships in the request, a list of the memberships is
returned, along with error codes and error messages.public BatchCreateChannelMembershipResult withErrors(Collection<BatchCreateChannelMembershipError> errors)
If the action fails for one or more of the memberships in the request, a list of the memberships is returned, along with error codes and error messages.
errors
- If the action fails for one or more of the memberships in the request, a list of the memberships is
returned, along with error codes and error messages.public String toString()
toString
in class Object
Object.toString()
public BatchCreateChannelMembershipResult clone()