public SampleChannelDataResult withPayloads(java.util.Collection<java.nio.ByteBuffer> payloads) {
        setPayloads(payloads);
        return this;
    }
<p>
The list of message samples. Each sample message is returned as a base64-encoded string.
</p>

@param payloads
       The list of message samples. Each sample message is returned as a base64-encoded string.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/SampleChannelDataResult.java