@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 managed node 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 managed node 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.
|
GetInventoryResult |
withEntities(Collection<InventoryResultEntity> entities)
Collection of inventory entities such as a collection of managed node inventory.
|
GetInventoryResult |
withEntities(InventoryResultEntity... entities)
Collection of inventory entities such as a collection of managed node 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 managed node inventory.
public void setEntities(Collection<InventoryResultEntity> entities)
Collection of inventory entities such as a collection of managed node inventory.
entities
- Collection of inventory entities such as a collection of managed node inventory.public GetInventoryResult withEntities(InventoryResultEntity... entities)
Collection of inventory entities such as a collection of managed node 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 managed node inventory.public GetInventoryResult withEntities(Collection<InventoryResultEntity> entities)
Collection of inventory entities such as a collection of managed node inventory.
entities
- Collection of inventory entities such as a collection of managed node 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()