@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetChannelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
BatchGetChannelResult() |
| Modifier and Type | Method and Description |
|---|---|
BatchGetChannelResult |
clone() |
boolean |
equals(Object obj) |
List<Channel> |
getChannels()
|
List<BatchError> |
getErrors()
Each error object is related to a specific ARN in the request.
|
int |
hashCode() |
void |
setChannels(Collection<Channel> channels)
|
void |
setErrors(Collection<BatchError> errors)
Each error object is related to a specific ARN in the request.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetChannelResult |
withChannels(Channel... channels)
|
BatchGetChannelResult |
withChannels(Collection<Channel> channels)
|
BatchGetChannelResult |
withErrors(BatchError... errors)
Each error object is related to a specific ARN in the request.
|
BatchGetChannelResult |
withErrors(Collection<BatchError> errors)
Each error object is related to a specific ARN in the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setChannels(Collection<Channel> channels)
channels - public BatchGetChannelResult withChannels(Channel... channels)
NOTE: This method appends the values to the existing list (if any). Use
setChannels(java.util.Collection) or withChannels(java.util.Collection) if you want to override
the existing values.
channels - public BatchGetChannelResult withChannels(Collection<Channel> channels)
channels - public List<BatchError> getErrors()
Each error object is related to a specific ARN in the request.
public void setErrors(Collection<BatchError> errors)
Each error object is related to a specific ARN in the request.
errors - Each error object is related to a specific ARN in the request.public BatchGetChannelResult withErrors(BatchError... errors)
Each error object is related to a specific ARN in the request.
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 - Each error object is related to a specific ARN in the request.public BatchGetChannelResult withErrors(Collection<BatchError> errors)
Each error object is related to a specific ARN in the request.
errors - Each error object is related to a specific ARN in the request.public String toString()
toString in class ObjectObject.toString()public BatchGetChannelResult clone()