@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InventoryDeletionSummaryItem extends Object implements Serializable, Cloneable, StructuredPojo
Either a count, remaining count, or a version number in a delete inventory summary.
Constructor and Description |
---|
InventoryDeletionSummaryItem() |
Modifier and Type | Method and Description |
---|---|
InventoryDeletionSummaryItem |
clone() |
boolean |
equals(Object obj) |
Integer |
getCount()
A count of the number of deleted items.
|
Integer |
getRemainingCount()
The remaining number of items to delete.
|
String |
getVersion()
The inventory type version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCount(Integer count)
A count of the number of deleted items.
|
void |
setRemainingCount(Integer remainingCount)
The remaining number of items to delete.
|
void |
setVersion(String version)
The inventory type version.
|
String |
toString()
Returns a string representation of this object.
|
InventoryDeletionSummaryItem |
withCount(Integer count)
A count of the number of deleted items.
|
InventoryDeletionSummaryItem |
withRemainingCount(Integer remainingCount)
The remaining number of items to delete.
|
InventoryDeletionSummaryItem |
withVersion(String version)
The inventory type version.
|
public void setVersion(String version)
The inventory type version.
version
- The inventory type version.public String getVersion()
The inventory type version.
public InventoryDeletionSummaryItem withVersion(String version)
The inventory type version.
version
- The inventory type version.public void setCount(Integer count)
A count of the number of deleted items.
count
- A count of the number of deleted items.public Integer getCount()
A count of the number of deleted items.
public InventoryDeletionSummaryItem withCount(Integer count)
A count of the number of deleted items.
count
- A count of the number of deleted items.public void setRemainingCount(Integer remainingCount)
The remaining number of items to delete.
remainingCount
- The remaining number of items to delete.public Integer getRemainingCount()
The remaining number of items to delete.
public InventoryDeletionSummaryItem withRemainingCount(Integer remainingCount)
The remaining number of items to delete.
remainingCount
- The remaining number of items to delete.public String toString()
toString
in class Object
Object.toString()
public InventoryDeletionSummaryItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.