@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()
An managed node ID where you want to add or update inventory items.
|
List<InventoryItem> |
getItems()
The inventory items that you want to add or update on managed nodes.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
An managed node ID 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 managed nodes.
|
String |
toString()
Returns a string representation of this object.
|
PutInventoryRequest |
withInstanceId(String instanceId)
An managed node ID 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 managed nodes.
|
PutInventoryRequest |
withItems(InventoryItem... items)
The inventory items that you want to add or update on managed nodes.
|
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, withSdkRequestTimeoutpublic void setInstanceId(String instanceId)
An managed node ID where you want to add or update inventory items.
instanceId - An managed node ID where you want to add or update inventory items.public String getInstanceId()
An managed node ID where you want to add or update inventory items.
public PutInventoryRequest withInstanceId(String instanceId)
An managed node ID where you want to add or update inventory items.
instanceId - An managed node ID where you want to add or update inventory items.public List<InventoryItem> getItems()
The inventory items that you want to add or update on managed nodes.
public void setItems(Collection<InventoryItem> items)
The inventory items that you want to add or update on managed nodes.
items - The inventory items that you want to add or update on managed nodes.public PutInventoryRequest withItems(InventoryItem... items)
The inventory items that you want to add or update on managed nodes.
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 managed nodes.public PutInventoryRequest withItems(Collection<InventoryItem> items)
The inventory items that you want to add or update on managed nodes.
items - The inventory items that you want to add or update on managed nodes.public String toString()
toString in class ObjectObject.toString()public PutInventoryRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()