Class FileSystemDescription
- java.lang.Object
-
- com.amazonaws.services.elasticfilesystem.model.FileSystemDescription
-
- All Implemented Interfaces:
Serializable,Cloneable
public class FileSystemDescription extends Object implements Serializable, Cloneable
This object provides description of a file system.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileSystemDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSystemDescriptionclone()booleanequals(Object obj)DategetCreationTime()The time at which the file system was created, in seconds, since 1970-01-01T00:00:00Z.StringgetCreationToken()Opaque string specified in the request.StringgetFileSystemId()The file system ID assigned by Amazon EFS.StringgetLifeCycleState()A predefined string value that indicates the lifecycle phase of the file system.StringgetName()You can add tags to a file system (see CreateTags) including a "Name" tag.IntegergetNumberOfMountTargets()The current number of mount targets (see CreateMountTarget) the file system has.StringgetOwnerId()The AWS account that created the file system.FileSystemSizegetSizeInBytes()This object provides the latest known metered size of data stored in the file system, in bytes, in itsValuefield, and the time at which that size was determined in itsTimestampfield.inthashCode()voidsetCreationTime(Date creationTime)The time at which the file system was created, in seconds, since 1970-01-01T00:00:00Z.voidsetCreationToken(String creationToken)Opaque string specified in the request.voidsetFileSystemId(String fileSystemId)The file system ID assigned by Amazon EFS.voidsetLifeCycleState(LifeCycleState lifeCycleState)A predefined string value that indicates the lifecycle phase of the file system.voidsetLifeCycleState(String lifeCycleState)A predefined string value that indicates the lifecycle phase of the file system.voidsetName(String name)You can add tags to a file system (see CreateTags) including a "Name" tag.voidsetNumberOfMountTargets(Integer numberOfMountTargets)The current number of mount targets (see CreateMountTarget) the file system has.voidsetOwnerId(String ownerId)The AWS account that created the file system.voidsetSizeInBytes(FileSystemSize sizeInBytes)This object provides the latest known metered size of data stored in the file system, in bytes, in itsValuefield, and the time at which that size was determined in itsTimestampfield.StringtoString()Returns a string representation of this object; useful for testing and debugging.FileSystemDescriptionwithCreationTime(Date creationTime)The time at which the file system was created, in seconds, since 1970-01-01T00:00:00Z.FileSystemDescriptionwithCreationToken(String creationToken)Opaque string specified in the request.FileSystemDescriptionwithFileSystemId(String fileSystemId)The file system ID assigned by Amazon EFS.FileSystemDescriptionwithLifeCycleState(LifeCycleState lifeCycleState)A predefined string value that indicates the lifecycle phase of the file system.FileSystemDescriptionwithLifeCycleState(String lifeCycleState)A predefined string value that indicates the lifecycle phase of the file system.FileSystemDescriptionwithName(String name)You can add tags to a file system (see CreateTags) including a "Name" tag.FileSystemDescriptionwithNumberOfMountTargets(Integer numberOfMountTargets)The current number of mount targets (see CreateMountTarget) the file system has.FileSystemDescriptionwithOwnerId(String ownerId)The AWS account that created the file system.FileSystemDescriptionwithSizeInBytes(FileSystemSize sizeInBytes)This object provides the latest known metered size of data stored in the file system, in bytes, in itsValuefield, and the time at which that size was determined in itsTimestampfield.
-
-
-
Method Detail
-
setOwnerId
public void setOwnerId(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.
- Parameters:
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.
-
getOwnerId
public 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.
- Returns:
- 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.
-
withOwnerId
public FileSystemDescription withOwnerId(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreationToken
public void setCreationToken(String creationToken)
Opaque string specified in the request.
- Parameters:
creationToken- Opaque string specified in the request.
-
getCreationToken
public String getCreationToken()
Opaque string specified in the request.
- Returns:
- Opaque string specified in the request.
-
withCreationToken
public FileSystemDescription withCreationToken(String creationToken)
Opaque string specified in the request.
- Parameters:
creationToken- Opaque string specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFileSystemId
public void setFileSystemId(String fileSystemId)
The file system ID assigned by Amazon EFS.
- Parameters:
fileSystemId- The file system ID assigned by Amazon EFS.
-
getFileSystemId
public String getFileSystemId()
The file system ID assigned by Amazon EFS.
- Returns:
- The file system ID assigned by Amazon EFS.
-
withFileSystemId
public FileSystemDescription withFileSystemId(String fileSystemId)
The file system ID assigned by Amazon EFS.
- Parameters:
fileSystemId- The file system ID assigned by Amazon EFS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreationTime
public void setCreationTime(Date creationTime)
The time at which the file system was created, in seconds, since 1970-01-01T00:00:00Z.
- Parameters:
creationTime- The time at which the file system was created, in seconds, since 1970-01-01T00:00:00Z.
-
getCreationTime
public Date getCreationTime()
The time at which the file system was created, in seconds, since 1970-01-01T00:00:00Z.
- Returns:
- The time at which the file system was created, in seconds, since 1970-01-01T00:00:00Z.
-
withCreationTime
public FileSystemDescription withCreationTime(Date creationTime)
The time at which the file system was created, in seconds, since 1970-01-01T00:00:00Z.
- Parameters:
creationTime- The time at which the file system was created, in seconds, since 1970-01-01T00:00:00Z.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLifeCycleState
public void setLifeCycleState(String lifeCycleState)
A predefined string value that indicates the lifecycle phase of the file system.
- Parameters:
lifeCycleState- A predefined string value that indicates the lifecycle phase of the file system.- See Also:
LifeCycleState
-
getLifeCycleState
public String getLifeCycleState()
A predefined string value that indicates the lifecycle phase of the file system.
- Returns:
- A predefined string value that indicates the lifecycle phase of the file system.
- See Also:
LifeCycleState
-
withLifeCycleState
public FileSystemDescription withLifeCycleState(String lifeCycleState)
A predefined string value that indicates the lifecycle phase of the file system.
- Parameters:
lifeCycleState- A predefined string value that indicates the lifecycle phase of the file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LifeCycleState
-
setLifeCycleState
public void setLifeCycleState(LifeCycleState lifeCycleState)
A predefined string value that indicates the lifecycle phase of the file system.
- Parameters:
lifeCycleState- A predefined string value that indicates the lifecycle phase of the file system.- See Also:
LifeCycleState
-
withLifeCycleState
public FileSystemDescription withLifeCycleState(LifeCycleState lifeCycleState)
A predefined string value that indicates the lifecycle phase of the file system.
- Parameters:
lifeCycleState- A predefined string value that indicates the lifecycle phase of the file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LifeCycleState
-
setName
public void setName(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.
- Parameters:
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.
-
getName
public 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.
- Returns:
- 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.
-
withName
public FileSystemDescription withName(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNumberOfMountTargets
public void setNumberOfMountTargets(Integer numberOfMountTargets)
The current number of mount targets (see CreateMountTarget) the file system has.
- Parameters:
numberOfMountTargets- The current number of mount targets (see CreateMountTarget) the file system has.
-
getNumberOfMountTargets
public Integer getNumberOfMountTargets()
The current number of mount targets (see CreateMountTarget) the file system has.
- Returns:
- The current number of mount targets (see CreateMountTarget) the file system has.
-
withNumberOfMountTargets
public FileSystemDescription withNumberOfMountTargets(Integer numberOfMountTargets)
The current number of mount targets (see CreateMountTarget) the file system has.
- Parameters:
numberOfMountTargets- The current number of mount targets (see CreateMountTarget) the file system has.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSizeInBytes
public void setSizeInBytes(FileSystemSize sizeInBytes)
This object provides the latest known metered size of data stored in the file system, in bytes, in its
Valuefield, and the time at which that size was determined in itsTimestampfield. TheTimestampvalue 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.- Parameters:
sizeInBytes- This object provides the latest known metered size of data stored in the file system, in bytes, in itsValuefield, and the time at which that size was determined in itsTimestampfield. TheTimestampvalue 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.
-
getSizeInBytes
public FileSystemSize getSizeInBytes()
This object provides the latest known metered size of data stored in the file system, in bytes, in its
Valuefield, and the time at which that size was determined in itsTimestampfield. TheTimestampvalue 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:
- This object provides the latest known metered size of data stored
in the file system, in bytes, in its
Valuefield, and the time at which that size was determined in itsTimestampfield. TheTimestampvalue 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.
-
withSizeInBytes
public FileSystemDescription withSizeInBytes(FileSystemSize sizeInBytes)
This object provides the latest known metered size of data stored in the file system, in bytes, in its
Valuefield, and the time at which that size was determined in itsTimestampfield. TheTimestampvalue 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.- Parameters:
sizeInBytes- This object provides the latest known metered size of data stored in the file system, in bytes, in itsValuefield, and the time at which that size was determined in itsTimestampfield. TheTimestampvalue 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:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public FileSystemDescription clone()
-
-