@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetResourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetResourcesResult() |
Modifier and Type | Method and Description |
---|---|
GetResourcesResult |
clone() |
boolean |
equals(Object obj) |
List<DocumentMetadata> |
getDocuments()
The documents in the specified collection.
|
List<FolderMetadata> |
getFolders()
The folders 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 collection.
|
void |
setFolders(Collection<FolderMetadata> folders)
The folders 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.
|
GetResourcesResult |
withDocuments(Collection<DocumentMetadata> documents)
The documents in the specified collection.
|
GetResourcesResult |
withDocuments(DocumentMetadata... documents)
The documents in the specified collection.
|
GetResourcesResult |
withFolders(Collection<FolderMetadata> folders)
The folders in the specified folder.
|
GetResourcesResult |
withFolders(FolderMetadata... folders)
The folders in the specified folder.
|
GetResourcesResult |
withMarker(String marker)
The marker to use when requesting the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<FolderMetadata> getFolders()
The folders in the specified folder.
public void setFolders(Collection<FolderMetadata> folders)
The folders in the specified folder.
folders
- The folders in the specified folder.public GetResourcesResult withFolders(FolderMetadata... folders)
The folders 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 folders in the specified folder.public GetResourcesResult withFolders(Collection<FolderMetadata> folders)
The folders in the specified folder.
folders
- The folders in the specified folder.public List<DocumentMetadata> getDocuments()
The documents in the specified collection.
public void setDocuments(Collection<DocumentMetadata> documents)
The documents in the specified collection.
documents
- The documents in the specified collection.public GetResourcesResult withDocuments(DocumentMetadata... documents)
The documents in the specified collection.
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 collection.public GetResourcesResult withDocuments(Collection<DocumentMetadata> documents)
The documents in the specified collection.
documents
- The documents in the specified collection.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 GetResourcesResult 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 GetResourcesResult clone()