@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchResourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchResourcesResult() |
Modifier and Type | Method and Description |
---|---|
SearchResourcesResult |
clone() |
boolean |
equals(Object obj) |
List<ResponseItem> |
getItems()
List of Documents, Folders, Comments, and Document Versions matching the query.
|
String |
getMarker()
The marker to use when requesting the next set of results.
|
int |
hashCode() |
void |
setItems(Collection<ResponseItem> items)
List of Documents, Folders, Comments, and Document Versions matching the query.
|
void |
setMarker(String marker)
The marker to use when requesting the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
SearchResourcesResult |
withItems(Collection<ResponseItem> items)
List of Documents, Folders, Comments, and Document Versions matching the query.
|
SearchResourcesResult |
withItems(ResponseItem... items)
List of Documents, Folders, Comments, and Document Versions matching the query.
|
SearchResourcesResult |
withMarker(String marker)
The marker to use when requesting the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ResponseItem> getItems()
List of Documents, Folders, Comments, and Document Versions matching the query.
public void setItems(Collection<ResponseItem> items)
List of Documents, Folders, Comments, and Document Versions matching the query.
items
- List of Documents, Folders, Comments, and Document Versions matching the query.public SearchResourcesResult withItems(ResponseItem... items)
List of Documents, Folders, Comments, and Document Versions matching the query.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- List of Documents, Folders, Comments, and Document Versions matching the query.public SearchResourcesResult withItems(Collection<ResponseItem> items)
List of Documents, Folders, Comments, and Document Versions matching the query.
items
- List of Documents, Folders, Comments, and Document Versions matching the query.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 SearchResourcesResult 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 SearchResourcesResult clone()