public class FileSystemDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
This object provides description of a file system.
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
creationTime
The time at which the file system was created, in seconds, since
1970-01-01T00:00:00Z.
|
private java.lang.String |
creationToken
Opaque string specified in the request.
|
private java.lang.String |
fileSystemId
The file system ID assigned by Amazon EFS.
|
private java.lang.String |
lifeCycleState
A predefined string value that indicates the lifecycle phase of the file
system.
|
private java.lang.String |
name
You can add tags to a file system (see CreateTags) including a
"Name" tag.
|
private java.lang.Integer |
numberOfMountTargets
The current number of mount targets (see CreateMountTarget) the
file system has.
|
private java.lang.String |
ownerId
The AWS account that created the file system.
|
private FileSystemSize |
sizeInBytes
This object provides the latest known metered size of data stored in the
file system, in bytes, in its
Value field, and the time at
which that size was determined in its Timestamp field. |
Constructor and Description |
---|
FileSystemDescription() |
Modifier and Type | Method and Description |
---|---|
FileSystemDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationTime()
The time at which the file system was created, in seconds, since
1970-01-01T00:00:00Z.
|
java.lang.String |
getCreationToken()
Opaque string specified in the request.
|
java.lang.String |
getFileSystemId()
The file system ID assigned by Amazon EFS.
|
java.lang.String |
getLifeCycleState()
A predefined string value that indicates the lifecycle phase of the file
system.
|
java.lang.String |
getName()
You can add tags to a file system (see CreateTags) including a
"Name" tag.
|
java.lang.Integer |
getNumberOfMountTargets()
The current number of mount targets (see CreateMountTarget) the
file system has.
|
java.lang.String |
getOwnerId()
The AWS account that created the file system.
|
FileSystemSize |
getSizeInBytes()
This object provides the latest known metered size of data stored in the
file system, in bytes, in its
Value field, and the time at
which that size was determined in its Timestamp field. |
int |
hashCode() |
void |
setCreationTime(java.util.Date creationTime)
The time at which the file system was created, in seconds, since
1970-01-01T00:00:00Z.
|
void |
setCreationToken(java.lang.String creationToken)
Opaque string specified in the request.
|
void |
setFileSystemId(java.lang.String fileSystemId)
The file system ID assigned by Amazon EFS.
|
void |
setLifeCycleState(LifeCycleState lifeCycleState)
A predefined string value that indicates the lifecycle phase of the file
system.
|
void |
setLifeCycleState(java.lang.String lifeCycleState)
A predefined string value that indicates the lifecycle phase of the file
system.
|
void |
setName(java.lang.String name)
You can add tags to a file system (see CreateTags) including a
"Name" tag.
|
void |
setNumberOfMountTargets(java.lang.Integer numberOfMountTargets)
The current number of mount targets (see CreateMountTarget) the
file system has.
|
void |
setOwnerId(java.lang.String ownerId)
The AWS account that created the file system.
|
void |
setSizeInBytes(FileSystemSize sizeInBytes)
This object provides the latest known metered size of data stored in the
file system, in bytes, in its
Value field, and the time at
which that size was determined in its Timestamp field. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FileSystemDescription |
withCreationTime(java.util.Date creationTime)
The time at which the file system was created, in seconds, since
1970-01-01T00:00:00Z.
|
FileSystemDescription |
withCreationToken(java.lang.String creationToken)
Opaque string specified in the request.
|
FileSystemDescription |
withFileSystemId(java.lang.String fileSystemId)
The file system ID assigned by Amazon EFS.
|
FileSystemDescription |
withLifeCycleState(LifeCycleState lifeCycleState)
A predefined string value that indicates the lifecycle phase of the file
system.
|
FileSystemDescription |
withLifeCycleState(java.lang.String lifeCycleState)
A predefined string value that indicates the lifecycle phase of the file
system.
|
FileSystemDescription |
withName(java.lang.String name)
You can add tags to a file system (see CreateTags) including a
"Name" tag.
|
FileSystemDescription |
withNumberOfMountTargets(java.lang.Integer numberOfMountTargets)
The current number of mount targets (see CreateMountTarget) the
file system has.
|
FileSystemDescription |
withOwnerId(java.lang.String ownerId)
The AWS account that created the file system.
|
FileSystemDescription |
withSizeInBytes(FileSystemSize sizeInBytes)
This object provides the latest known metered size of data stored in the
file system, in bytes, in its
Value field, and the time at
which that size was determined in its Timestamp field. |
private java.lang.String ownerId
The AWS account that created the file system. If the file system was created by an IAM user, the parent account to which the user belongs is the owner.
private java.lang.String creationToken
Opaque string specified in the request.
private java.lang.String fileSystemId
The file system ID assigned by Amazon EFS.
private java.util.Date creationTime
The time at which the file system was created, in seconds, since 1970-01-01T00:00:00Z.
private java.lang.String lifeCycleState
A predefined string value that indicates the lifecycle phase of the file system.
private java.lang.String name
You can add tags to a file system (see CreateTags) including a "Name" tag. If the file system has a "Name" tag, Amazon EFS returns the value in this field.
private java.lang.Integer numberOfMountTargets
The current number of mount targets (see CreateMountTarget) the file system has.
private FileSystemSize sizeInBytes
This object provides the latest known metered size of data stored in the
file system, in bytes, in its Value
field, and the time at
which that size was determined in its Timestamp
field. The
Timestamp
value is the integer number of seconds since
1970-01-01T00:00:00Z. 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 actual size only if the file system is not modified for a
period longer than a couple of hours. Otherwise, the value is not the
exact size the file system was at any instant in time.
public void setOwnerId(java.lang.String ownerId)
The AWS account that created the file system. If the file system was created by an IAM user, the parent account to which the user belongs is the owner.
ownerId
- The AWS account that created the file system. If the file system
was created by an IAM user, the parent account to which the user
belongs is the owner.public java.lang.String getOwnerId()
The AWS account that created the file system. If the file system was created by an IAM user, the parent account to which the user belongs is the owner.
public FileSystemDescription withOwnerId(java.lang.String ownerId)
The AWS account that created the file system. If the file system was created by an IAM user, the parent account to which the user belongs is the owner.
ownerId
- The AWS account that created the file system. If the file system
was created by an IAM user, the parent account to which the user
belongs is the owner.public void setCreationToken(java.lang.String creationToken)
Opaque string specified in the request.
creationToken
- Opaque string specified in the request.public java.lang.String getCreationToken()
Opaque string specified in the request.
public FileSystemDescription withCreationToken(java.lang.String creationToken)
Opaque string specified in the request.
creationToken
- Opaque string specified in the request.public void setFileSystemId(java.lang.String fileSystemId)
The file system ID assigned by Amazon EFS.
fileSystemId
- The file system ID assigned by Amazon EFS.public java.lang.String getFileSystemId()
The file system ID assigned by Amazon EFS.
public FileSystemDescription withFileSystemId(java.lang.String fileSystemId)
The file system ID assigned by Amazon EFS.
fileSystemId
- The file system ID assigned by Amazon EFS.public void setCreationTime(java.util.Date creationTime)
The time at which the file system was created, in seconds, since 1970-01-01T00:00:00Z.
creationTime
- The time at which the file system was created, in seconds, since
1970-01-01T00:00:00Z.public java.util.Date getCreationTime()
The time at which the file system was created, in seconds, since 1970-01-01T00:00:00Z.
public FileSystemDescription withCreationTime(java.util.Date creationTime)
The time at which the file system was created, in seconds, since 1970-01-01T00:00:00Z.
creationTime
- The time at which the file system was created, in seconds, since
1970-01-01T00:00:00Z.public void setLifeCycleState(java.lang.String lifeCycleState)
A predefined string value that indicates the lifecycle phase of the file system.
lifeCycleState
- A predefined string value that indicates the lifecycle phase of
the file system.LifeCycleState
public java.lang.String getLifeCycleState()
A predefined string value that indicates the lifecycle phase of the file system.
LifeCycleState
public FileSystemDescription withLifeCycleState(java.lang.String lifeCycleState)
A predefined string value that indicates the lifecycle phase of the file system.
lifeCycleState
- A predefined string value that indicates the lifecycle phase of
the file system.LifeCycleState
public void setLifeCycleState(LifeCycleState lifeCycleState)
A predefined string value that indicates the lifecycle phase of the file system.
lifeCycleState
- A predefined string value that indicates the lifecycle phase of
the file system.LifeCycleState
public FileSystemDescription withLifeCycleState(LifeCycleState lifeCycleState)
A predefined string value that indicates the lifecycle phase of the file system.
lifeCycleState
- A predefined string value that indicates the lifecycle phase of
the file system.LifeCycleState
public void setName(java.lang.String name)
You can add tags to a file system (see CreateTags) including a "Name" tag. If the file system has a "Name" tag, Amazon EFS returns the value in this field.
name
- You can add tags to a file system (see CreateTags)
including a "Name" tag. If the file system has a "Name" tag,
Amazon EFS returns the value in this field.public java.lang.String getName()
You can add tags to a file system (see CreateTags) including a "Name" tag. If the file system has a "Name" tag, Amazon EFS returns the value in this field.
public FileSystemDescription withName(java.lang.String name)
You can add tags to a file system (see CreateTags) including a "Name" tag. If the file system has a "Name" tag, Amazon EFS returns the value in this field.
name
- You can add tags to a file system (see CreateTags)
including a "Name" tag. If the file system has a "Name" tag,
Amazon EFS returns the value in this field.public void setNumberOfMountTargets(java.lang.Integer numberOfMountTargets)
The current number of mount targets (see CreateMountTarget) the file system has.
numberOfMountTargets
- The current number of mount targets (see CreateMountTarget)
the file system has.public java.lang.Integer getNumberOfMountTargets()
The current number of mount targets (see CreateMountTarget) the file system has.
public FileSystemDescription withNumberOfMountTargets(java.lang.Integer numberOfMountTargets)
The current number of mount targets (see CreateMountTarget) the file system has.
numberOfMountTargets
- The current number of mount targets (see CreateMountTarget)
the file system has.public void setSizeInBytes(FileSystemSize sizeInBytes)
This object provides the latest known metered size of data stored in the
file system, in bytes, in its Value
field, and the time at
which that size was determined in its Timestamp
field. The
Timestamp
value is the integer number of seconds since
1970-01-01T00:00:00Z. 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 actual size only if the file system is not modified for a
period longer than a couple of hours. Otherwise, the value is not the
exact size the file system was at any instant in time.
sizeInBytes
- This object provides the latest known metered size of data stored
in the file system, in bytes, in its Value
field, and
the time at which that size was determined in its
Timestamp
field. The Timestamp
value is
the integer number of seconds since 1970-01-01T00:00:00Z. 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 actual size only if the file system is not modified for
a period longer than a couple of hours. Otherwise, the value is
not the exact size the file system was at any instant in time.public FileSystemSize getSizeInBytes()
This object provides the latest known metered size of data stored in the
file system, in bytes, in its Value
field, and the time at
which that size was determined in its Timestamp
field. The
Timestamp
value is the integer number of seconds since
1970-01-01T00:00:00Z. 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 actual size only if the file system is not modified for a
period longer than a couple of hours. Otherwise, the value is not the
exact size the file system was at any instant in time.
Value
field,
and the time at which that size was determined in its
Timestamp
field. The Timestamp
value is
the integer number of seconds since 1970-01-01T00:00:00Z. 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 actual size only if the file system is not modified for
a period longer than a couple of hours. Otherwise, the value is
not the exact size the file system was at any instant in time.public FileSystemDescription withSizeInBytes(FileSystemSize sizeInBytes)
This object provides the latest known metered size of data stored in the
file system, in bytes, in its Value
field, and the time at
which that size was determined in its Timestamp
field. The
Timestamp
value is the integer number of seconds since
1970-01-01T00:00:00Z. 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 actual size only if the file system is not modified for a
period longer than a couple of hours. Otherwise, the value is not the
exact size the file system was at any instant in time.
sizeInBytes
- This object provides the latest known metered size of data stored
in the file system, in bytes, in its Value
field, and
the time at which that size was determined in its
Timestamp
field. The Timestamp
value is
the integer number of seconds since 1970-01-01T00:00:00Z. 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 actual size only if the file system is not modified for
a period longer than a couple of hours. Otherwise, the value is
not the exact size the file system was at any instant in time.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public FileSystemDescription clone()
clone
in class java.lang.Object