@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFolderContentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeFolderContentsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeFolderContentsResult |
clone() |
boolean |
equals(Object obj) |
List<DocumentMetadata> |
getDocuments()
The documents in the specified folder.
|
List<FolderMetadata> |
getFolders()
The subfolders in the specified folder.
|
String |
getMarker()
The marker to use when requesting the next set of results.
|
int |
hashCode() |
void |
setDocuments(Collection<DocumentMetadata> documents)
The documents in the specified folder.
|
void |
setFolders(Collection<FolderMetadata> folders)
The subfolders in the specified folder.
|
void |
setMarker(String marker)
The marker to use when requesting the next set of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeFolderContentsResult |
withDocuments(Collection<DocumentMetadata> documents)
The documents in the specified folder.
|
DescribeFolderContentsResult |
withDocuments(DocumentMetadata... documents)
The documents in the specified folder.
|
DescribeFolderContentsResult |
withFolders(Collection<FolderMetadata> folders)
The subfolders in the specified folder.
|
DescribeFolderContentsResult |
withFolders(FolderMetadata... folders)
The subfolders in the specified folder.
|
DescribeFolderContentsResult |
withMarker(String marker)
The marker to use when requesting the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<FolderMetadata> getFolders()
The subfolders in the specified folder.
public void setFolders(Collection<FolderMetadata> folders)
The subfolders in the specified folder.
folders
- The subfolders in the specified folder.public DescribeFolderContentsResult withFolders(FolderMetadata... folders)
The subfolders in the specified folder.
NOTE: This method appends the values to the existing list (if any). Use
setFolders(java.util.Collection)
or withFolders(java.util.Collection)
if you want to override
the existing values.
folders
- The subfolders in the specified folder.public DescribeFolderContentsResult withFolders(Collection<FolderMetadata> folders)
The subfolders in the specified folder.
folders
- The subfolders in the specified folder.public List<DocumentMetadata> getDocuments()
The documents in the specified folder.
public void setDocuments(Collection<DocumentMetadata> documents)
The documents in the specified folder.
documents
- The documents in the specified folder.public DescribeFolderContentsResult withDocuments(DocumentMetadata... documents)
The documents in the specified folder.
NOTE: This method appends the values to the existing list (if any). Use
setDocuments(java.util.Collection)
or withDocuments(java.util.Collection)
if you want to
override the existing values.
documents
- The documents in the specified folder.public DescribeFolderContentsResult withDocuments(Collection<DocumentMetadata> documents)
The documents in the specified folder.
documents
- The documents in the specified folder.public void setMarker(String marker)
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
marker
- The marker to use when requesting the next set of results. If there are no additional results, the string
is empty.public String getMarker()
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
public DescribeFolderContentsResult withMarker(String marker)
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
marker
- The marker to use when requesting the next set of results. If there are no additional results, the string
is empty.public String toString()
toString
in class Object
Object.toString()
public DescribeFolderContentsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.