@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEntitiesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListEntitiesResult() |
Modifier and Type | Method and Description |
---|---|
ListEntitiesResult |
clone() |
boolean |
equals(Object obj) |
List<EntitySummary> |
getEntitySummaryList()
Array of
EntitySummary objects. |
String |
getNextToken()
The value of the next token if it exists.
|
int |
hashCode() |
void |
setEntitySummaryList(Collection<EntitySummary> entitySummaryList)
Array of
EntitySummary objects. |
void |
setNextToken(String nextToken)
The value of the next token if it exists.
|
String |
toString()
Returns a string representation of this object.
|
ListEntitiesResult |
withEntitySummaryList(Collection<EntitySummary> entitySummaryList)
Array of
EntitySummary objects. |
ListEntitiesResult |
withEntitySummaryList(EntitySummary... entitySummaryList)
Array of
EntitySummary objects. |
ListEntitiesResult |
withNextToken(String nextToken)
The value of the next token if it exists.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EntitySummary> getEntitySummaryList()
Array of EntitySummary
objects.
EntitySummary
objects.public void setEntitySummaryList(Collection<EntitySummary> entitySummaryList)
Array of EntitySummary
objects.
entitySummaryList
- Array of EntitySummary
objects.public ListEntitiesResult withEntitySummaryList(EntitySummary... entitySummaryList)
Array of EntitySummary
objects.
NOTE: This method appends the values to the existing list (if any). Use
setEntitySummaryList(java.util.Collection)
or withEntitySummaryList(java.util.Collection)
if
you want to override the existing values.
entitySummaryList
- Array of EntitySummary
objects.public ListEntitiesResult withEntitySummaryList(Collection<EntitySummary> entitySummaryList)
Array of EntitySummary
objects.
entitySummaryList
- Array of EntitySummary
objects.public void setNextToken(String nextToken)
The value of the next token if it exists. Null if there is no more result.
nextToken
- The value of the next token if it exists. Null if there is no more result.public String getNextToken()
The value of the next token if it exists. Null if there is no more result.
public ListEntitiesResult withNextToken(String nextToken)
The value of the next token if it exists. Null if there is no more result.
nextToken
- The value of the next token if it exists. Null if there is no more result.public String toString()
toString
in class Object
Object.toString()
public ListEntitiesResult clone()