@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FileSystemSize extends Object implements Serializable, Cloneable, StructuredPojo
The 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. The value doesn't 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 represents 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()
The time at which the size of data, returned in the
Value field, was determined. |
Long |
getValue()
The latest known metered size (in bytes) of data stored in the file system.
|
Long |
getValueInIA()
The latest known metered size (in bytes) of data stored in the Infrequent Access storage class.
|
Long |
getValueInStandard()
The latest known metered size (in bytes) of data stored in the Standard storage class.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTimestamp(Date timestamp)
The time at which the size of data, returned in the
Value field, was determined. |
void |
setValue(Long value)
The latest known metered size (in bytes) of data stored in the file system.
|
void |
setValueInIA(Long valueInIA)
The latest known metered size (in bytes) of data stored in the Infrequent Access storage class.
|
void |
setValueInStandard(Long valueInStandard)
The latest known metered size (in bytes) of data stored in the Standard storage class.
|
String |
toString()
Returns a string representation of this object.
|
FileSystemSize |
withTimestamp(Date timestamp)
The time at which the size of data, returned in the
Value field, was determined. |
FileSystemSize |
withValue(Long value)
The latest known metered size (in bytes) of data stored in the file system.
|
FileSystemSize |
withValueInIA(Long valueInIA)
The latest known metered size (in bytes) of data stored in the Infrequent Access storage class.
|
FileSystemSize |
withValueInStandard(Long valueInStandard)
The latest known metered size (in bytes) of data stored in the Standard storage class.
|
public void setValue(Long value)
The latest known metered size (in bytes) of data stored in the file system.
value
- The latest known metered size (in bytes) of data stored in the file system.public Long getValue()
The latest known metered size (in bytes) of data stored in the file system.
public FileSystemSize withValue(Long value)
The latest known metered size (in bytes) of data stored in the file system.
value
- The latest known metered size (in bytes) of data stored in the file system.public void setTimestamp(Date timestamp)
The 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
- The 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()
The 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)
The 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
- The 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 void setValueInIA(Long valueInIA)
The latest known metered size (in bytes) of data stored in the Infrequent Access storage class.
valueInIA
- The latest known metered size (in bytes) of data stored in the Infrequent Access storage class.public Long getValueInIA()
The latest known metered size (in bytes) of data stored in the Infrequent Access storage class.
public FileSystemSize withValueInIA(Long valueInIA)
The latest known metered size (in bytes) of data stored in the Infrequent Access storage class.
valueInIA
- The latest known metered size (in bytes) of data stored in the Infrequent Access storage class.public void setValueInStandard(Long valueInStandard)
The latest known metered size (in bytes) of data stored in the Standard storage class.
valueInStandard
- The latest known metered size (in bytes) of data stored in the Standard storage class.public Long getValueInStandard()
The latest known metered size (in bytes) of data stored in the Standard storage class.
public FileSystemSize withValueInStandard(Long valueInStandard)
The latest known metered size (in bytes) of data stored in the Standard storage class.
valueInStandard
- The latest known metered size (in bytes) of data stored in the Standard storage class.public String toString()
toString
in class Object
Object.toString()
public FileSystemSize clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.