@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<MatchingResource> |
getMatchingResources()
An array of objects, one for each resource that matches the filter criteria specified in the request.
|
String |
getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response.
|
int |
hashCode() |
void |
setMatchingResources(Collection<MatchingResource> matchingResources)
An array of objects, one for each resource that matches the filter criteria specified in the request.
|
void |
setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
String |
toString()
Returns a string representation of this object.
|
SearchResourcesResult |
withMatchingResources(Collection<MatchingResource> matchingResources)
An array of objects, one for each resource that matches the filter criteria specified in the request.
|
SearchResourcesResult |
withMatchingResources(MatchingResource... matchingResources)
An array of objects, one for each resource that matches the filter criteria specified in the request.
|
SearchResourcesResult |
withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<MatchingResource> getMatchingResources()
An array of objects, one for each resource that matches the filter criteria specified in the request.
public void setMatchingResources(Collection<MatchingResource> matchingResources)
An array of objects, one for each resource that matches the filter criteria specified in the request.
matchingResources
- An array of objects, one for each resource that matches the filter criteria specified in the request.public SearchResourcesResult withMatchingResources(MatchingResource... matchingResources)
An array of objects, one for each resource that matches the filter criteria specified in the request.
NOTE: This method appends the values to the existing list (if any). Use
setMatchingResources(java.util.Collection)
or withMatchingResources(java.util.Collection)
if
you want to override the existing values.
matchingResources
- An array of objects, one for each resource that matches the filter criteria specified in the request.public SearchResourcesResult withMatchingResources(Collection<MatchingResource> matchingResources)
An array of objects, one for each resource that matches the filter criteria specified in the request.
matchingResources
- An array of objects, one for each resource that matches the filter criteria specified in the request.public void setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
public SearchResourcesResult withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String toString()
toString
in class Object
Object.toString()
public SearchResourcesResult clone()