@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetCollectionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchGetCollectionResult() |
Modifier and Type | Method and Description |
---|---|
BatchGetCollectionResult |
clone() |
boolean |
equals(Object obj) |
List<CollectionDetail> |
getCollectionDetails()
Details about each collection.
|
List<CollectionErrorDetail> |
getCollectionErrorDetails()
Error information for the request.
|
int |
hashCode() |
void |
setCollectionDetails(Collection<CollectionDetail> collectionDetails)
Details about each collection.
|
void |
setCollectionErrorDetails(Collection<CollectionErrorDetail> collectionErrorDetails)
Error information for the request.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetCollectionResult |
withCollectionDetails(Collection<CollectionDetail> collectionDetails)
Details about each collection.
|
BatchGetCollectionResult |
withCollectionDetails(CollectionDetail... collectionDetails)
Details about each collection.
|
BatchGetCollectionResult |
withCollectionErrorDetails(Collection<CollectionErrorDetail> collectionErrorDetails)
Error information for the request.
|
BatchGetCollectionResult |
withCollectionErrorDetails(CollectionErrorDetail... collectionErrorDetails)
Error information for the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CollectionDetail> getCollectionDetails()
Details about each collection.
public void setCollectionDetails(Collection<CollectionDetail> collectionDetails)
Details about each collection.
collectionDetails
- Details about each collection.public BatchGetCollectionResult withCollectionDetails(CollectionDetail... collectionDetails)
Details about each collection.
NOTE: This method appends the values to the existing list (if any). Use
setCollectionDetails(java.util.Collection)
or withCollectionDetails(java.util.Collection)
if
you want to override the existing values.
collectionDetails
- Details about each collection.public BatchGetCollectionResult withCollectionDetails(Collection<CollectionDetail> collectionDetails)
Details about each collection.
collectionDetails
- Details about each collection.public List<CollectionErrorDetail> getCollectionErrorDetails()
Error information for the request.
public void setCollectionErrorDetails(Collection<CollectionErrorDetail> collectionErrorDetails)
Error information for the request.
collectionErrorDetails
- Error information for the request.public BatchGetCollectionResult withCollectionErrorDetails(CollectionErrorDetail... collectionErrorDetails)
Error information for the request.
NOTE: This method appends the values to the existing list (if any). Use
setCollectionErrorDetails(java.util.Collection)
or
withCollectionErrorDetails(java.util.Collection)
if you want to override the existing values.
collectionErrorDetails
- Error information for the request.public BatchGetCollectionResult withCollectionErrorDetails(Collection<CollectionErrorDetail> collectionErrorDetails)
Error information for the request.
collectionErrorDetails
- Error information for the request.public String toString()
toString
in class Object
Object.toString()
public BatchGetCollectionResult clone()