@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInventorySchemaResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetInventorySchemaResult() |
Modifier and Type | Method and Description |
---|---|
GetInventorySchemaResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use when requesting the next set of items.
|
List<InventoryItemSchema> |
getSchemas()
Inventory schemas returned by the request.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use when requesting the next set of items.
|
void |
setSchemas(Collection<InventoryItemSchema> schemas)
Inventory schemas returned by the request.
|
String |
toString()
Returns a string representation of this object.
|
GetInventorySchemaResult |
withNextToken(String nextToken)
The token to use when requesting the next set of items.
|
GetInventorySchemaResult |
withSchemas(Collection<InventoryItemSchema> schemas)
Inventory schemas returned by the request.
|
GetInventorySchemaResult |
withSchemas(InventoryItemSchema... schemas)
Inventory schemas returned by the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<InventoryItemSchema> getSchemas()
Inventory schemas returned by the request.
public void setSchemas(Collection<InventoryItemSchema> schemas)
Inventory schemas returned by the request.
schemas
- Inventory schemas returned by the request.public GetInventorySchemaResult withSchemas(InventoryItemSchema... schemas)
Inventory schemas returned by the request.
NOTE: This method appends the values to the existing list (if any). Use
setSchemas(java.util.Collection)
or withSchemas(java.util.Collection)
if you want to override
the existing values.
schemas
- Inventory schemas returned by the request.public GetInventorySchemaResult withSchemas(Collection<InventoryItemSchema> schemas)
Inventory schemas returned by the request.
schemas
- Inventory schemas returned by the request.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 GetInventorySchemaResult 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 GetInventorySchemaResult clone()