@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublishBatchResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PublishBatchResult() |
Modifier and Type | Method and Description |
---|---|
PublishBatchResult |
clone() |
boolean |
equals(Object obj) |
List<BatchResultErrorEntry> |
getFailed()
A list of failed
PublishBatch responses. |
List<PublishBatchResultEntry> |
getSuccessful()
A list of successful
PublishBatch responses. |
int |
hashCode() |
void |
setFailed(Collection<BatchResultErrorEntry> failed)
A list of failed
PublishBatch responses. |
void |
setSuccessful(Collection<PublishBatchResultEntry> successful)
A list of successful
PublishBatch responses. |
String |
toString()
Returns a string representation of this object.
|
PublishBatchResult |
withFailed(BatchResultErrorEntry... failed)
A list of failed
PublishBatch responses. |
PublishBatchResult |
withFailed(Collection<BatchResultErrorEntry> failed)
A list of failed
PublishBatch responses. |
PublishBatchResult |
withSuccessful(Collection<PublishBatchResultEntry> successful)
A list of successful
PublishBatch responses. |
PublishBatchResult |
withSuccessful(PublishBatchResultEntry... successful)
A list of successful
PublishBatch responses. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PublishBatchResultEntry> getSuccessful()
A list of successful PublishBatch
responses.
PublishBatch
responses.public void setSuccessful(Collection<PublishBatchResultEntry> successful)
A list of successful PublishBatch
responses.
successful
- A list of successful PublishBatch
responses.public PublishBatchResult withSuccessful(PublishBatchResultEntry... successful)
A list of successful PublishBatch
responses.
NOTE: This method appends the values to the existing list (if any). Use
setSuccessful(java.util.Collection)
or withSuccessful(java.util.Collection)
if you want to
override the existing values.
successful
- A list of successful PublishBatch
responses.public PublishBatchResult withSuccessful(Collection<PublishBatchResultEntry> successful)
A list of successful PublishBatch
responses.
successful
- A list of successful PublishBatch
responses.public List<BatchResultErrorEntry> getFailed()
A list of failed PublishBatch
responses.
PublishBatch
responses.public void setFailed(Collection<BatchResultErrorEntry> failed)
A list of failed PublishBatch
responses.
failed
- A list of failed PublishBatch
responses.public PublishBatchResult withFailed(BatchResultErrorEntry... failed)
A list of failed PublishBatch
responses.
NOTE: This method appends the values to the existing list (if any). Use
setFailed(java.util.Collection)
or withFailed(java.util.Collection)
if you want to override the
existing values.
failed
- A list of failed PublishBatch
responses.public PublishBatchResult withFailed(Collection<BatchResultErrorEntry> failed)
A list of failed PublishBatch
responses.
failed
- A list of failed PublishBatch
responses.public String toString()
toString
in class Object
Object.toString()
public PublishBatchResult clone()