@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchEntitiesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchEntitiesResult() |
Modifier and Type | Method and Description |
---|---|
SearchEntitiesResult |
clone() |
boolean |
equals(Object obj) |
List<EntityDescription> |
getDescriptions()
An array of descriptions for each entity returned in the search result.
|
String |
getNextToken()
The string to specify as
nextToken when you request the next page of results. |
int |
hashCode() |
void |
setDescriptions(Collection<EntityDescription> descriptions)
An array of descriptions for each entity returned in the search result.
|
void |
setNextToken(String nextToken)
The string to specify as
nextToken when you request the next page of results. |
String |
toString()
Returns a string representation of this object.
|
SearchEntitiesResult |
withDescriptions(Collection<EntityDescription> descriptions)
An array of descriptions for each entity returned in the search result.
|
SearchEntitiesResult |
withDescriptions(EntityDescription... descriptions)
An array of descriptions for each entity returned in the search result.
|
SearchEntitiesResult |
withNextToken(String nextToken)
The string to specify as
nextToken when you request the next page of results. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EntityDescription> getDescriptions()
An array of descriptions for each entity returned in the search result.
public void setDescriptions(Collection<EntityDescription> descriptions)
An array of descriptions for each entity returned in the search result.
descriptions
- An array of descriptions for each entity returned in the search result.public SearchEntitiesResult withDescriptions(EntityDescription... descriptions)
An array of descriptions for each entity returned in the search result.
NOTE: This method appends the values to the existing list (if any). Use
setDescriptions(java.util.Collection)
or withDescriptions(java.util.Collection)
if you want to
override the existing values.
descriptions
- An array of descriptions for each entity returned in the search result.public SearchEntitiesResult withDescriptions(Collection<EntityDescription> descriptions)
An array of descriptions for each entity returned in the search result.
descriptions
- An array of descriptions for each entity returned in the search result.public void setNextToken(String nextToken)
The string to specify as nextToken
when you request the next page of results.
nextToken
- The string to specify as nextToken
when you request the next page of results.public String getNextToken()
The string to specify as nextToken
when you request the next page of results.
nextToken
when you request the next page of results.public SearchEntitiesResult withNextToken(String nextToken)
The string to specify as nextToken
when you request the next page of results.
nextToken
- The string to specify as nextToken
when you request the next page of results.public String toString()
toString
in class Object
Object.toString()
public SearchEntitiesResult clone()