public InventoryItem withCaptureTime(String captureTime) {
        setCaptureTime(captureTime);
        return this;
    }
<p>
The time the inventory information was collected.
</p>

@param captureTime
       The time the inventory information was collected.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/InventoryItem.java