@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FileSystemDescription extends Object implements Serializable, Cloneable, StructuredPojo
Description of the file system.
Constructor and Description |
---|
FileSystemDescription() |
Modifier and Type | Method and Description |
---|---|
FileSystemDescription |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z).
|
String |
getCreationToken()
Opaque string specified in the request.
|
Boolean |
getEncrypted()
A boolean value that, if true, indicates that the file system is encrypted.
|
String |
getFileSystemId()
ID of the file system, assigned by Amazon EFS.
|
String |
getKmsKeyId()
The id of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the
encrypted file system.
|
String |
getLifeCycleState()
Lifecycle phase of the file system.
|
String |
getName()
You can add tags to a file system, including a
Name tag. |
Integer |
getNumberOfMountTargets()
Current number of mount targets that the file system has.
|
String |
getOwnerId()
AWS account that created the file system.
|
String |
getPerformanceMode()
The
PerformanceMode of the file system. |
FileSystemSize |
getSizeInBytes()
Latest known metered size (in bytes) 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() |
Boolean |
isEncrypted()
A boolean value that, if true, indicates that the file system is encrypted.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(Date creationTime)
Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z).
|
void |
setCreationToken(String creationToken)
Opaque string specified in the request.
|
void |
setEncrypted(Boolean encrypted)
A boolean value that, if true, indicates that the file system is encrypted.
|
void |
setFileSystemId(String fileSystemId)
ID of the file system, assigned by Amazon EFS.
|
void |
setKmsKeyId(String kmsKeyId)
The id of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the
encrypted file system.
|
void |
setLifeCycleState(LifeCycleState lifeCycleState)
Lifecycle phase of the file system.
|
void |
setLifeCycleState(String lifeCycleState)
Lifecycle phase of the file system.
|
void |
setName(String name)
You can add tags to a file system, including a
Name tag. |
void |
setNumberOfMountTargets(Integer numberOfMountTargets)
Current number of mount targets that the file system has.
|
void |
setOwnerId(String ownerId)
AWS account that created the file system.
|
void |
setPerformanceMode(PerformanceMode performanceMode)
The
PerformanceMode of the file system. |
void |
setPerformanceMode(String performanceMode)
The
PerformanceMode of the file system. |
void |
setSizeInBytes(FileSystemSize sizeInBytes)
Latest known metered size (in bytes) 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)
Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z).
|
FileSystemDescription |
withCreationToken(String creationToken)
Opaque string specified in the request.
|
FileSystemDescription |
withEncrypted(Boolean encrypted)
A boolean value that, if true, indicates that the file system is encrypted.
|
FileSystemDescription |
withFileSystemId(String fileSystemId)
ID of the file system, assigned by Amazon EFS.
|
FileSystemDescription |
withKmsKeyId(String kmsKeyId)
The id of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the
encrypted file system.
|
FileSystemDescription |
withLifeCycleState(LifeCycleState lifeCycleState)
Lifecycle phase of the file system.
|
FileSystemDescription |
withLifeCycleState(String lifeCycleState)
Lifecycle phase of the file system.
|
FileSystemDescription |
withName(String name)
You can add tags to a file system, including a
Name tag. |
FileSystemDescription |
withNumberOfMountTargets(Integer numberOfMountTargets)
Current number of mount targets that the file system has.
|
FileSystemDescription |
withOwnerId(String ownerId)
AWS account that created the file system.
|
FileSystemDescription |
withPerformanceMode(PerformanceMode performanceMode)
The
PerformanceMode of the file system. |
FileSystemDescription |
withPerformanceMode(String performanceMode)
The
PerformanceMode of the file system. |
FileSystemDescription |
withSizeInBytes(FileSystemSize sizeInBytes)
Latest known metered size (in bytes) 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 void setOwnerId(String ownerId)
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
- 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 getOwnerId()
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)
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
- 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(String creationToken)
Opaque string specified in the request.
creationToken
- Opaque string specified in the request.public String getCreationToken()
Opaque string specified in the request.
public FileSystemDescription withCreationToken(String creationToken)
Opaque string specified in the request.
creationToken
- Opaque string specified in the request.public void setFileSystemId(String fileSystemId)
ID of the file system, assigned by Amazon EFS.
fileSystemId
- ID of the file system, assigned by Amazon EFS.public String getFileSystemId()
ID of the file system, assigned by Amazon EFS.
public FileSystemDescription withFileSystemId(String fileSystemId)
ID of the file system, assigned by Amazon EFS.
fileSystemId
- ID of the file system, assigned by Amazon EFS.public void setCreationTime(Date creationTime)
Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z).
creationTime
- Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z).public Date getCreationTime()
Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z).
public FileSystemDescription withCreationTime(Date creationTime)
Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z).
creationTime
- Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z).public void setLifeCycleState(String lifeCycleState)
Lifecycle phase of the file system.
lifeCycleState
- Lifecycle phase of the file system.LifeCycleState
public String getLifeCycleState()
Lifecycle phase of the file system.
LifeCycleState
public FileSystemDescription withLifeCycleState(String lifeCycleState)
Lifecycle phase of the file system.
lifeCycleState
- Lifecycle phase of the file system.LifeCycleState
public void setLifeCycleState(LifeCycleState lifeCycleState)
Lifecycle phase of the file system.
lifeCycleState
- Lifecycle phase of the file system.LifeCycleState
public FileSystemDescription withLifeCycleState(LifeCycleState lifeCycleState)
Lifecycle phase of the file system.
lifeCycleState
- Lifecycle phase of the file system.LifeCycleState
public void setName(String name)
You can add tags to a file system, including a Name
tag. For more information, see
CreateTags. 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, including a Name
tag. For more information, see
CreateTags. If the file system has a Name
tag, Amazon EFS returns the value in this
field.public String getName()
You can add tags to a file system, including a Name
tag. For more information, see
CreateTags. If the file system has a Name
tag, Amazon EFS returns the value in this field.
Name
tag. For more information, see
CreateTags. If the file system has a Name
tag, Amazon EFS returns the value in this
field.public FileSystemDescription withName(String name)
You can add tags to a file system, including a Name
tag. For more information, see
CreateTags. 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, including a Name
tag. For more information, see
CreateTags. If the file system has a Name
tag, Amazon EFS returns the value in this
field.public void setNumberOfMountTargets(Integer numberOfMountTargets)
Current number of mount targets that the file system has. For more information, see CreateMountTarget.
numberOfMountTargets
- Current number of mount targets that the file system has. For more information, see
CreateMountTarget.public Integer getNumberOfMountTargets()
Current number of mount targets that the file system has. For more information, see CreateMountTarget.
public FileSystemDescription withNumberOfMountTargets(Integer numberOfMountTargets)
Current number of mount targets that the file system has. For more information, see CreateMountTarget.
numberOfMountTargets
- Current number of mount targets that the file system has. For more information, see
CreateMountTarget.public void setSizeInBytes(FileSystemSize sizeInBytes)
Latest known metered size (in bytes) 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
- Latest known metered size (in bytes) 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()
Latest known metered size (in bytes) 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)
Latest known metered size (in bytes) 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
- Latest known metered size (in bytes) 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 setPerformanceMode(String performanceMode)
The PerformanceMode
of the file system.
performanceMode
- The PerformanceMode
of the file system.PerformanceMode
public String getPerformanceMode()
The PerformanceMode
of the file system.
PerformanceMode
of the file system.PerformanceMode
public FileSystemDescription withPerformanceMode(String performanceMode)
The PerformanceMode
of the file system.
performanceMode
- The PerformanceMode
of the file system.PerformanceMode
public void setPerformanceMode(PerformanceMode performanceMode)
The PerformanceMode
of the file system.
performanceMode
- The PerformanceMode
of the file system.PerformanceMode
public FileSystemDescription withPerformanceMode(PerformanceMode performanceMode)
The PerformanceMode
of the file system.
performanceMode
- The PerformanceMode
of the file system.PerformanceMode
public void setEncrypted(Boolean encrypted)
A boolean value that, if true, indicates that the file system is encrypted.
encrypted
- A boolean value that, if true, indicates that the file system is encrypted.public Boolean getEncrypted()
A boolean value that, if true, indicates that the file system is encrypted.
public FileSystemDescription withEncrypted(Boolean encrypted)
A boolean value that, if true, indicates that the file system is encrypted.
encrypted
- A boolean value that, if true, indicates that the file system is encrypted.public Boolean isEncrypted()
A boolean value that, if true, indicates that the file system is encrypted.
public void setKmsKeyId(String kmsKeyId)
The id of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the encrypted file system.
kmsKeyId
- The id of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the
encrypted file system.public String getKmsKeyId()
The id of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the encrypted file system.
public FileSystemDescription withKmsKeyId(String kmsKeyId)
The id of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the encrypted file system.
kmsKeyId
- The id of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the
encrypted file system.public String toString()
toString
in class Object
Object.toString()
public FileSystemDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.