* A list of successful PublishBatch responses.
     * 
     * A list of failed PublishBatch responses.
     * 
     * A list of successful PublishBatch responses.
     * 
PublishBatch responses.
     */
    public java.util.List
     * A list of successful PublishBatch responses.
     * 
PublishBatch responses.
     */
    public void setSuccessful(java.util.Collection
     * A list of successful PublishBatch responses.
     * 
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setSuccessful(java.util.Collection)} or {@link #withSuccessful(java.util.Collection)} if you want to * override the existing values. *
* * @param successful * A list of successfulPublishBatch responses.
     * @return Returns a reference to this object so that method calls can be chained together.
     */
    public PublishBatchResult withSuccessful(PublishBatchResultEntry... successful) {
        if (this.successful == null) {
            setSuccessful(new com.amazonaws.internal.SdkInternalList
     * A list of successful PublishBatch responses.
     * 
PublishBatch responses.
     * @return Returns a reference to this object so that method calls can be chained together.
     */
    public PublishBatchResult withSuccessful(java.util.Collection
     * A list of failed PublishBatch responses.
     * 
PublishBatch responses.
     */
    public java.util.List
     * A list of failed PublishBatch responses.
     * 
PublishBatch responses.
     */
    public void setFailed(java.util.Collection
     * A list of failed PublishBatch responses.
     * 
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setFailed(java.util.Collection)} or {@link #withFailed(java.util.Collection)} if you want to override the * existing values. *
* * @param failed * A list of failedPublishBatch responses.
     * @return Returns a reference to this object so that method calls can be chained together.
     */
    public PublishBatchResult withFailed(BatchResultErrorEntry... failed) {
        if (this.failed == null) {
            setFailed(new com.amazonaws.internal.SdkInternalList
     * A list of failed PublishBatch responses.
     * 
PublishBatch responses.
     * @return Returns a reference to this object so that method calls can be chained together.
     */
    public PublishBatchResult withFailed(java.util.Collection