@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutInventoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutInventoryRequest() |
Modifier and Type | Method and Description |
---|---|
PutInventoryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInstanceId()
One or more instance IDs where you want to add or update inventory items.
|
List<InventoryItem> |
getItems()
The inventory items that you want to add or update on instances.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
One or more instance IDs where you want to add or update inventory items.
|
void |
setItems(Collection<InventoryItem> items)
The inventory items that you want to add or update on instances.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutInventoryRequest |
withInstanceId(String instanceId)
One or more instance IDs where you want to add or update inventory items.
|
PutInventoryRequest |
withItems(Collection<InventoryItem> items)
The inventory items that you want to add or update on instances.
|
PutInventoryRequest |
withItems(InventoryItem... items)
The inventory items that you want to add or update on instances.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setInstanceId(String instanceId)
One or more instance IDs where you want to add or update inventory items.
instanceId
- One or more instance IDs where you want to add or update inventory items.public String getInstanceId()
One or more instance IDs where you want to add or update inventory items.
public PutInventoryRequest withInstanceId(String instanceId)
One or more instance IDs where you want to add or update inventory items.
instanceId
- One or more instance IDs where you want to add or update inventory items.public List<InventoryItem> getItems()
The inventory items that you want to add or update on instances.
public void setItems(Collection<InventoryItem> items)
The inventory items that you want to add or update on instances.
items
- The inventory items that you want to add or update on instances.public PutInventoryRequest withItems(InventoryItem... items)
The inventory items that you want to add or update on instances.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- The inventory items that you want to add or update on instances.public PutInventoryRequest withItems(Collection<InventoryItem> items)
The inventory items that you want to add or update on instances.
items
- The inventory items that you want to add or update on instances.public String toString()
toString
in class Object
Object.toString()
public PutInventoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.