public static interface CreateFileSystemResponse.Builder extends EfsResponse.Builder, CopyableBuilder<CreateFileSystemResponse.Builder,CreateFileSystemResponse>
Modifier and Type | Method and Description |
---|---|
CreateFileSystemResponse.Builder |
creationTime(Instant creationTime)
Time that the file system was created, in seconds (since 1970-01-01T00:00:00Z).
|
CreateFileSystemResponse.Builder |
creationToken(String creationToken)
Opaque string specified in the request.
|
CreateFileSystemResponse.Builder |
encrypted(Boolean encrypted)
A boolean value that, if true, indicates that the file system is encrypted.
|
CreateFileSystemResponse.Builder |
fileSystemId(String fileSystemId)
ID of the file system, assigned by Amazon EFS.
|
CreateFileSystemResponse.Builder |
kmsKeyId(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.
|
CreateFileSystemResponse.Builder |
lifeCycleState(LifeCycleState lifeCycleState)
Lifecycle phase of the file system.
|
CreateFileSystemResponse.Builder |
lifeCycleState(String lifeCycleState)
Lifecycle phase of the file system.
|
CreateFileSystemResponse.Builder |
name(String name)
You can add tags to a file system, including a
Name tag. |
CreateFileSystemResponse.Builder |
numberOfMountTargets(Integer numberOfMountTargets)
Current number of mount targets that the file system has.
|
CreateFileSystemResponse.Builder |
ownerId(String ownerId)
AWS account that created the file system.
|
CreateFileSystemResponse.Builder |
performanceMode(PerformanceMode performanceMode)
The
PerformanceMode of the file system. |
CreateFileSystemResponse.Builder |
performanceMode(String performanceMode)
The
PerformanceMode of the file system. |
default CreateFileSystemResponse.Builder |
sizeInBytes(Consumer<FileSystemSize.Builder> 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. |
CreateFileSystemResponse.Builder |
sizeInBytes(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. |
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateFileSystemResponse.Builder ownerId(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.CreateFileSystemResponse.Builder creationToken(String creationToken)
Opaque string specified in the request.
creationToken
- Opaque string specified in the request.CreateFileSystemResponse.Builder fileSystemId(String fileSystemId)
ID of the file system, assigned by Amazon EFS.
fileSystemId
- ID of the file system, assigned by Amazon EFS.CreateFileSystemResponse.Builder creationTime(Instant 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).CreateFileSystemResponse.Builder lifeCycleState(String lifeCycleState)
Lifecycle phase of the file system.
lifeCycleState
- Lifecycle phase of the file system.LifeCycleState
,
LifeCycleState
CreateFileSystemResponse.Builder lifeCycleState(LifeCycleState lifeCycleState)
Lifecycle phase of the file system.
lifeCycleState
- Lifecycle phase of the file system.LifeCycleState
,
LifeCycleState
CreateFileSystemResponse.Builder name(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.CreateFileSystemResponse.Builder numberOfMountTargets(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.CreateFileSystemResponse.Builder sizeInBytes(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.default CreateFileSystemResponse.Builder sizeInBytes(Consumer<FileSystemSize.Builder> 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.
FileSystemSize.Builder
avoiding the need to
create one manually via FileSystemSize.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to sizeInBytes(FileSystemSize)
.sizeInBytes
- a consumer that will call methods on FileSystemSize.Builder
sizeInBytes(FileSystemSize)
CreateFileSystemResponse.Builder performanceMode(String performanceMode)
The PerformanceMode
of the file system.
performanceMode
- The PerformanceMode
of the file system.PerformanceMode
,
PerformanceMode
CreateFileSystemResponse.Builder performanceMode(PerformanceMode performanceMode)
The PerformanceMode
of the file system.
performanceMode
- The PerformanceMode
of the file system.PerformanceMode
,
PerformanceMode
CreateFileSystemResponse.Builder encrypted(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.CreateFileSystemResponse.Builder kmsKeyId(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.