@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInventoryResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetInventoryResult() |
Modifier and Type | Method and Description |
---|---|
GetInventoryResult |
clone() |
boolean |
equals(Object obj) |
List<InventoryResultEntity> |
getEntities()
Collection of inventory entities such as a collection of instance inventory.
|
String |
getNextToken()
The token to use when requesting the next set of items.
|
int |
hashCode() |
void |
setEntities(Collection<InventoryResultEntity> entities)
Collection of inventory entities such as a collection of instance inventory.
|
void |
setNextToken(String nextToken)
The token to use when requesting the next set of items.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetInventoryResult |
withEntities(Collection<InventoryResultEntity> entities)
Collection of inventory entities such as a collection of instance inventory.
|
GetInventoryResult |
withEntities(InventoryResultEntity... entities)
Collection of inventory entities such as a collection of instance inventory.
|
GetInventoryResult |
withNextToken(String nextToken)
The token to use when requesting the next set of items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<InventoryResultEntity> getEntities()
Collection of inventory entities such as a collection of instance inventory.
public void setEntities(Collection<InventoryResultEntity> entities)
Collection of inventory entities such as a collection of instance inventory.
entities
- Collection of inventory entities such as a collection of instance inventory.public GetInventoryResult withEntities(InventoryResultEntity... entities)
Collection of inventory entities such as a collection of instance inventory.
NOTE: This method appends the values to the existing list (if any). Use
setEntities(java.util.Collection)
or withEntities(java.util.Collection)
if you want to override
the existing values.
entities
- Collection of inventory entities such as a collection of instance inventory.public GetInventoryResult withEntities(Collection<InventoryResultEntity> entities)
Collection of inventory entities such as a collection of instance inventory.
entities
- Collection of inventory entities such as a collection of instance inventory.public void setNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the
string is empty.public String getNextToken()
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
public GetInventoryResult withNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the
string is empty.public String toString()
toString
in class Object
Object.toString()
public GetInventoryResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.