public class FileSystemDescription extends Object implements Serializable, Cloneable
This object provides description of a file system.
Constructor and Description |
---|
FileSystemDescription() |
Modifier and Type | Method and Description |
---|---|
FileSystemDescription |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
The time at which the file system was created, in seconds, since
1970-01-01T00:00:00Z.
|
String |
getCreationToken()
Opaque string specified in the request.
|
String |
getFileSystemId()
The file system ID assigned by Amazon EFS.
|
String |
getLifeCycleState()
A predefined string value that indicates the lifecycle phase of the
file system.
|
String |
getName()
You can add tags to a file system (see CreateTags) including a
"Name" tag.
|
Integer |
getNumberOfMountTargets()
The current number of mount targets (see CreateMountTarget) the
file system has.
|
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(Date creationTime)
The time at which the file system was created, in seconds, since
1970-01-01T00:00:00Z.
|
void |
setCreationToken(String creationToken)
Opaque string specified in the request.
|
void |
setFileSystemId(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(String lifeCycleState)
A predefined string value that indicates the lifecycle phase of the
file system.
|
void |
setName(String name)
You can add tags to a file system (see CreateTags) including a
"Name" tag.
|
void |
setNumberOfMountTargets(Integer numberOfMountTargets)
The current number of mount targets (see CreateMountTarget) the
file system has.
|
void |
setOwnerId(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. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FileSystemDescription |
withCreationTime(Date creationTime)
The time at which the file system was created, in seconds, since
1970-01-01T00:00:00Z.
|
FileSystemDescription |
withCreationToken(String creationToken)
Opaque string specified in the request.
|
FileSystemDescription |
withFileSystemId(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(String lifeCycleState)
A predefined string value that indicates the lifecycle phase of the
file system.
|
FileSystemDescription |
withName(String name)
You can add tags to a file system (see CreateTags) including a
"Name" tag.
|
FileSystemDescription |
withNumberOfMountTargets(Integer numberOfMountTargets)
The current number of mount targets (see CreateMountTarget) the
file system has.
|
FileSystemDescription |
withOwnerId(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. |
public String getOwnerId()
Constraints:
Pattern: [0-9]{12}
public void setOwnerId(String ownerId)
Constraints:
Pattern: [0-9]{12}
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 FileSystemDescription withOwnerId(String ownerId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [0-9]{12}
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 String getCreationToken()
Constraints:
Length: 1 - 64
public void setCreationToken(String creationToken)
Constraints:
Length: 1 - 64
creationToken
- Opaque string specified in the request.public FileSystemDescription withCreationToken(String creationToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
creationToken
- Opaque string specified in the request.public String getFileSystemId()
Constraints:
Pattern: fs-[0-9a-f]{8}
public void setFileSystemId(String fileSystemId)
Constraints:
Pattern: fs-[0-9a-f]{8}
fileSystemId
- The file system ID assigned by Amazon EFS.public FileSystemDescription withFileSystemId(String fileSystemId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: fs-[0-9a-f]{8}
fileSystemId
- The file system ID assigned by Amazon EFS.public Date getCreationTime()
public void setCreationTime(Date creationTime)
creationTime
- The time at which the file system was created, in seconds, since
1970-01-01T00:00:00Z.public FileSystemDescription withCreationTime(Date creationTime)
Returns a reference to this object so that method calls can be chained together.
creationTime
- The time at which the file system was created, in seconds, since
1970-01-01T00:00:00Z.public String getLifeCycleState()
Constraints:
Allowed Values: creating, available, deleting, deleted
LifeCycleState
public void setLifeCycleState(String lifeCycleState)
Constraints:
Allowed Values: creating, available, deleting, deleted
lifeCycleState
- A predefined string value that indicates the lifecycle phase of the
file system.LifeCycleState
public FileSystemDescription withLifeCycleState(String lifeCycleState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: creating, available, deleting, deleted
lifeCycleState
- A predefined string value that indicates the lifecycle phase of the
file system.LifeCycleState
public void setLifeCycleState(LifeCycleState lifeCycleState)
Constraints:
Allowed Values: creating, available, deleting, deleted
lifeCycleState
- A predefined string value that indicates the lifecycle phase of the
file system.LifeCycleState
public FileSystemDescription withLifeCycleState(LifeCycleState lifeCycleState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: creating, available, deleting, deleted
lifeCycleState
- A predefined string value that indicates the lifecycle phase of the
file system.LifeCycleState
public String getName()
Constraints:
Length: 0 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
public void setName(String name)
Constraints:
Length: 0 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
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 FileSystemDescription withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
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 Integer getNumberOfMountTargets()
Constraints:
Range: 0 -
public void setNumberOfMountTargets(Integer numberOfMountTargets)
Constraints:
Range: 0 -
numberOfMountTargets
- The current number of mount targets (see CreateMountTarget) the
file system has.public FileSystemDescription withNumberOfMountTargets(Integer numberOfMountTargets)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
numberOfMountTargets
- The current number of mount targets (see CreateMountTarget) the
file system has.public FileSystemSize getSizeInBytes()
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 void setSizeInBytes(FileSystemSize sizeInBytes)
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 FileSystemDescription withSizeInBytes(FileSystemSize sizeInBytes)
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.
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
public FileSystemDescription clone()
Copyright © 2015. All rights reserved.