@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetAttachedFileMetadataResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchGetAttachedFileMetadataResult() |
Modifier and Type | Method and Description |
---|---|
BatchGetAttachedFileMetadataResult |
clone() |
boolean |
equals(Object obj) |
List<AttachedFileError> |
getErrors()
List of errors of attached files that could not be retrieved.
|
List<AttachedFile> |
getFiles()
List of attached files that were successfully retrieved.
|
int |
hashCode() |
void |
setErrors(Collection<AttachedFileError> errors)
List of errors of attached files that could not be retrieved.
|
void |
setFiles(Collection<AttachedFile> files)
List of attached files that were successfully retrieved.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetAttachedFileMetadataResult |
withErrors(AttachedFileError... errors)
List of errors of attached files that could not be retrieved.
|
BatchGetAttachedFileMetadataResult |
withErrors(Collection<AttachedFileError> errors)
List of errors of attached files that could not be retrieved.
|
BatchGetAttachedFileMetadataResult |
withFiles(AttachedFile... files)
List of attached files that were successfully retrieved.
|
BatchGetAttachedFileMetadataResult |
withFiles(Collection<AttachedFile> files)
List of attached files that were successfully retrieved.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AttachedFile> getFiles()
List of attached files that were successfully retrieved.
public void setFiles(Collection<AttachedFile> files)
List of attached files that were successfully retrieved.
files
- List of attached files that were successfully retrieved.public BatchGetAttachedFileMetadataResult withFiles(AttachedFile... files)
List of attached files that were successfully retrieved.
NOTE: This method appends the values to the existing list (if any). Use
setFiles(java.util.Collection)
or withFiles(java.util.Collection)
if you want to override the
existing values.
files
- List of attached files that were successfully retrieved.public BatchGetAttachedFileMetadataResult withFiles(Collection<AttachedFile> files)
List of attached files that were successfully retrieved.
files
- List of attached files that were successfully retrieved.public List<AttachedFileError> getErrors()
List of errors of attached files that could not be retrieved.
public void setErrors(Collection<AttachedFileError> errors)
List of errors of attached files that could not be retrieved.
errors
- List of errors of attached files that could not be retrieved.public BatchGetAttachedFileMetadataResult withErrors(AttachedFileError... errors)
List of errors of attached files that could not be retrieved.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- List of errors of attached files that could not be retrieved.public BatchGetAttachedFileMetadataResult withErrors(Collection<AttachedFileError> errors)
List of errors of attached files that could not be retrieved.
errors
- List of errors of attached files that could not be retrieved.public String toString()
toString
in class Object
Object.toString()
public BatchGetAttachedFileMetadataResult clone()