@Generated(value="software.amazon.awssdk:codegen") public final class FileSystemSize extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FileSystemSize.Builder,FileSystemSize>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
FileSystemSize.Builder |
Modifier and Type | Method and Description |
---|---|
static FileSystemSize.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends FileSystemSize.Builder> |
serializableBuilderClass() |
Instant |
timestamp()
The time at which the size of data, returned in the
Value field, was determined. |
FileSystemSize.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
Long |
value()
The latest known metered size (in bytes) of data stored in the file system.
|
Long |
valueInIA()
The latest known metered size (in bytes) of data stored in the Infrequent Access storage class.
|
Long |
valueInStandard()
The latest known metered size (in bytes) of data stored in the Standard storage class.
|
copy
public final Long value()
The latest known metered size (in bytes) of data stored in the file system.
public final Instant 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.
Value
field, was determined. The value
is the integer number of seconds since 1970-01-01T00:00:00Z.public final Long valueInIA()
The latest known metered size (in bytes) of data stored in the Infrequent Access storage class.
public final Long valueInStandard()
The latest known metered size (in bytes) of data stored in the Standard storage class.
public FileSystemSize.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FileSystemSize.Builder,FileSystemSize>
public static FileSystemSize.Builder builder()
public static Class<? extends FileSystemSize.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.