@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SampleChannelDataResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SampleChannelDataResult() |
Modifier and Type | Method and Description |
---|---|
SampleChannelDataResult |
clone() |
boolean |
equals(Object obj) |
List<ByteBuffer> |
getPayloads()
The list of message samples.
|
int |
hashCode() |
void |
setPayloads(Collection<ByteBuffer> payloads)
The list of message samples.
|
String |
toString()
Returns a string representation of this object.
|
SampleChannelDataResult |
withPayloads(ByteBuffer... payloads)
The list of message samples.
|
SampleChannelDataResult |
withPayloads(Collection<ByteBuffer> payloads)
The list of message samples.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ByteBuffer> getPayloads()
The list of message samples. Each sample message is returned as a base64-encoded string.
public void setPayloads(Collection<ByteBuffer> payloads)
The list of message samples. Each sample message is returned as a base64-encoded string.
payloads
- The list of message samples. Each sample message is returned as a base64-encoded string.public SampleChannelDataResult withPayloads(ByteBuffer... payloads)
The list of message samples. Each sample message is returned as a base64-encoded string.
NOTE: This method appends the values to the existing list (if any). Use
setPayloads(java.util.Collection)
or withPayloads(java.util.Collection)
if you want to override
the existing values.
payloads
- The list of message samples. Each sample message is returned as a base64-encoded string.public SampleChannelDataResult withPayloads(Collection<ByteBuffer> payloads)
The list of message samples. Each sample message is returned as a base64-encoded string.
payloads
- The list of message samples. Each sample message is returned as a base64-encoded string.public String toString()
toString
in class Object
Object.toString()
public SampleChannelDataResult clone()