public class FileSystemSize extends Object implements Serializable, Cloneable
 Latest known metered size (in bytes) of data stored in the file system, in
 its Value field, and the time at which that size was determined
 in its Timestamp field. Note that the value does not represent
 the size of a consistent snapshot of the file system, but it is eventually
 consistent when there are no writes to the file system. That is, the value
 will represent the actual size only if the file system is not modified for a
 period longer than a couple of hours. Otherwise, the value is not necessarily
 the exact size the file system was at any instant in time.
 
| Constructor and Description | 
|---|
| FileSystemSize() | 
| Modifier and Type | Method and Description | 
|---|---|
| FileSystemSize | clone() | 
| boolean | equals(Object obj) | 
| Date | getTimestamp()
 Time at which the size of data, returned in the  Valuefield,
 was determined. | 
| Long | getValue()
 Latest known metered size (in bytes) of data stored in the file system. | 
| int | hashCode() | 
| void | setTimestamp(Date timestamp)
 Time at which the size of data, returned in the  Valuefield,
 was determined. | 
| void | setValue(Long value)
 Latest known metered size (in bytes) of data stored in the file system. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| FileSystemSize | withTimestamp(Date timestamp)
 Time at which the size of data, returned in the  Valuefield,
 was determined. | 
| FileSystemSize | withValue(Long value)
 Latest known metered size (in bytes) of data stored in the file system. | 
public void setValue(Long value)
Latest known metered size (in bytes) of data stored in the file system.
value - Latest known metered size (in bytes) of data stored in the file
        system.public Long getValue()
Latest known metered size (in bytes) of data stored in the file system.
public FileSystemSize withValue(Long value)
Latest known metered size (in bytes) of data stored in the file system.
value - Latest known metered size (in bytes) of data stored in the file
        system.public void setTimestamp(Date timestamp)
 Time at which the size of data, returned in the Value field,
 was determined. The value is the integer number of seconds since
 1970-01-01T00:00:00Z.
 
timestamp - Time at which the size of data, returned in the Value
        field, was determined. The value is the integer number of seconds
        since 1970-01-01T00:00:00Z.public Date getTimestamp()
 Time at which the size of data, returned in the Value field,
 was determined. The value is the integer number of seconds since
 1970-01-01T00:00:00Z.
 
Value field, was determined. The value is the
         integer number of seconds since 1970-01-01T00:00:00Z.public FileSystemSize withTimestamp(Date timestamp)
 Time at which the size of data, returned in the Value field,
 was determined. The value is the integer number of seconds since
 1970-01-01T00:00:00Z.
 
timestamp - Time at which the size of data, returned in the Value
        field, was determined. The value is the integer number of seconds
        since 1970-01-01T00:00:00Z.public String toString()
toString in class ObjectObject.toString()public FileSystemSize clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.