Interface CreateFileSystemResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateFileSystemResponse.Builder,CreateFileSystemResponse>,EfsResponse.Builder,SdkBuilder<CreateFileSystemResponse.Builder,CreateFileSystemResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateFileSystemResponse
public static interface CreateFileSystemResponse.Builder extends EfsResponse.Builder, SdkPojo, CopyableBuilder<CreateFileSystemResponse.Builder,CreateFileSystemResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateFileSystemResponse.BuilderavailabilityZoneId(String availabilityZoneId)The unique and consistent identifier of the Availability Zone in which the file system is located, and is valid only for One Zone file systems.CreateFileSystemResponse.BuilderavailabilityZoneName(String availabilityZoneName)Describes the Amazon Web Services Availability Zone in which the file system is located, and is valid only for One Zone file systems.CreateFileSystemResponse.BuildercreationTime(Instant creationTime)The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z).CreateFileSystemResponse.BuildercreationToken(String creationToken)The opaque string specified in the request.CreateFileSystemResponse.Builderencrypted(Boolean encrypted)A Boolean value that, if true, indicates that the file system is encrypted.CreateFileSystemResponse.BuilderfileSystemArn(String fileSystemArn)The Amazon Resource Name (ARN) for the EFS file system, in the formatarn:aws:elasticfilesystem:region:account-id:file-system/file-system-id.CreateFileSystemResponse.BuilderfileSystemId(String fileSystemId)The ID of the file system, assigned by Amazon EFS.default CreateFileSystemResponse.BuilderfileSystemProtection(Consumer<FileSystemProtectionDescription.Builder> fileSystemProtection)Describes the protection on the file system.CreateFileSystemResponse.BuilderfileSystemProtection(FileSystemProtectionDescription fileSystemProtection)Describes the protection on the file system.CreateFileSystemResponse.BuilderkmsKeyId(String kmsKeyId)The ID of an KMS key used to protect the encrypted file system.CreateFileSystemResponse.BuilderlifeCycleState(String lifeCycleState)The lifecycle phase of the file system.CreateFileSystemResponse.BuilderlifeCycleState(LifeCycleState lifeCycleState)The lifecycle phase of the file system.CreateFileSystemResponse.Buildername(String name)You can add tags to a file system, including aNametag.CreateFileSystemResponse.BuildernumberOfMountTargets(Integer numberOfMountTargets)The current number of mount targets that the file system has.CreateFileSystemResponse.BuilderownerId(String ownerId)The Amazon Web Services account that created the file system.CreateFileSystemResponse.BuilderperformanceMode(String performanceMode)The performance mode of the file system.CreateFileSystemResponse.BuilderperformanceMode(PerformanceMode performanceMode)The performance mode of the file system.CreateFileSystemResponse.BuilderprovisionedThroughputInMibps(Double provisionedThroughputInMibps)The amount of provisioned throughput, measured in MiBps, for the file system.default CreateFileSystemResponse.BuildersizeInBytes(Consumer<FileSystemSize.Builder> sizeInBytes)The latest known metered size (in bytes) of data stored in the file system, in itsValuefield, and the time at which that size was determined in itsTimestampfield.CreateFileSystemResponse.BuildersizeInBytes(FileSystemSize sizeInBytes)The latest known metered size (in bytes) of data stored in the file system, in itsValuefield, and the time at which that size was determined in itsTimestampfield.CreateFileSystemResponse.Buildertags(Collection<Tag> tags)The tags associated with the file system, presented as an array ofTagobjects.CreateFileSystemResponse.Buildertags(Consumer<Tag.Builder>... tags)The tags associated with the file system, presented as an array ofTagobjects.CreateFileSystemResponse.Buildertags(Tag... tags)The tags associated with the file system, presented as an array ofTagobjects.CreateFileSystemResponse.BuilderthroughputMode(String throughputMode)Displays the file system's throughput mode.CreateFileSystemResponse.BuilderthroughputMode(ThroughputMode throughputMode)Displays the file system's throughput mode.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.efs.model.EfsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
ownerId
CreateFileSystemResponse.Builder ownerId(String ownerId)
The Amazon Web Services account that created the file system.
- Parameters:
ownerId- The Amazon Web Services account that created the file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationToken
CreateFileSystemResponse.Builder creationToken(String creationToken)
The opaque string specified in the request.
- Parameters:
creationToken- The opaque string specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystemId
CreateFileSystemResponse.Builder fileSystemId(String fileSystemId)
The ID of the file system, assigned by Amazon EFS.
- Parameters:
fileSystemId- The ID of the file system, assigned by Amazon EFS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystemArn
CreateFileSystemResponse.Builder fileSystemArn(String fileSystemArn)
The Amazon Resource Name (ARN) for the EFS file system, in the format
arn:aws:elasticfilesystem:region:account-id:file-system/file-system-id. Example with sample data:arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-01234567- Parameters:
fileSystemArn- The Amazon Resource Name (ARN) for the EFS file system, in the formatarn:aws:elasticfilesystem:region:account-id:file-system/file-system-id. Example with sample data:arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-01234567- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
CreateFileSystemResponse.Builder creationTime(Instant creationTime)
The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z).
- Parameters:
creationTime- The time that 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.
-
lifeCycleState
CreateFileSystemResponse.Builder lifeCycleState(String lifeCycleState)
The lifecycle phase of the file system.
- Parameters:
lifeCycleState- 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,LifeCycleState
-
lifeCycleState
CreateFileSystemResponse.Builder lifeCycleState(LifeCycleState lifeCycleState)
The lifecycle phase of the file system.
- Parameters:
lifeCycleState- 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,LifeCycleState
-
name
CreateFileSystemResponse.Builder name(String name)
You can add tags to a file system, including a
Nametag. For more information, see CreateFileSystem. If the file system has aNametag, Amazon EFS returns the value in this field.- Parameters:
name- You can add tags to a file system, including aNametag. For more information, see CreateFileSystem. If the file system has aNametag, Amazon EFS returns the value in this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfMountTargets
CreateFileSystemResponse.Builder numberOfMountTargets(Integer numberOfMountTargets)
The current number of mount targets that the file system has. For more information, see CreateMountTarget.
- Parameters:
numberOfMountTargets- The current number of mount targets that the file system has. For more information, see CreateMountTarget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeInBytes
CreateFileSystemResponse.Builder sizeInBytes(FileSystemSize sizeInBytes)
The latest known metered size (in bytes) of data stored in the file system, 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. TheSizeInBytesvalue doesn't 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,SizeInBytesrepresents 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 that the file system was at any point in time.- Parameters:
sizeInBytes- The latest known metered size (in bytes) of data stored in the file system, 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. TheSizeInBytesvalue doesn't 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,SizeInBytesrepresents 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 that the file system was at any point in time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeInBytes
default CreateFileSystemResponse.Builder sizeInBytes(Consumer<FileSystemSize.Builder> sizeInBytes)
The latest known metered size (in bytes) of data stored in the file system, in its
This is a convenience method that creates an instance of theValuefield, and the time at which that size was determined in itsTimestampfield. TheTimestampvalue is the integer number of seconds since 1970-01-01T00:00:00Z. TheSizeInBytesvalue doesn't 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,SizeInBytesrepresents 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 that the file system was at any point in time.FileSystemSize.Builderavoiding the need to create one manually viaFileSystemSize.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosizeInBytes(FileSystemSize).- Parameters:
sizeInBytes- a consumer that will call methods onFileSystemSize.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sizeInBytes(FileSystemSize)
-
performanceMode
CreateFileSystemResponse.Builder performanceMode(String performanceMode)
The performance mode of the file system.
- Parameters:
performanceMode- The performance mode of the file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PerformanceMode,PerformanceMode
-
performanceMode
CreateFileSystemResponse.Builder performanceMode(PerformanceMode performanceMode)
The performance mode of the file system.
- Parameters:
performanceMode- The performance mode of the file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PerformanceMode,PerformanceMode
-
encrypted
CreateFileSystemResponse.Builder encrypted(Boolean encrypted)
A Boolean value that, if true, indicates that the file system is encrypted.
- Parameters:
encrypted- A Boolean value that, if true, indicates that the file system is encrypted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
CreateFileSystemResponse.Builder kmsKeyId(String kmsKeyId)
The ID of an KMS key used to protect the encrypted file system.
- Parameters:
kmsKeyId- The ID of an KMS key used to protect the encrypted file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
throughputMode
CreateFileSystemResponse.Builder throughputMode(String throughputMode)
Displays the file system's throughput mode. For more information, see Throughput modes in the Amazon EFS User Guide.
- Parameters:
throughputMode- Displays the file system's throughput mode. For more information, see Throughput modes in the Amazon EFS User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ThroughputMode,ThroughputMode
-
throughputMode
CreateFileSystemResponse.Builder throughputMode(ThroughputMode throughputMode)
Displays the file system's throughput mode. For more information, see Throughput modes in the Amazon EFS User Guide.
- Parameters:
throughputMode- Displays the file system's throughput mode. For more information, see Throughput modes in the Amazon EFS User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ThroughputMode,ThroughputMode
-
provisionedThroughputInMibps
CreateFileSystemResponse.Builder provisionedThroughputInMibps(Double provisionedThroughputInMibps)
The amount of provisioned throughput, measured in MiBps, for the file system. Valid for file systems using
ThroughputModeset toprovisioned.- Parameters:
provisionedThroughputInMibps- The amount of provisioned throughput, measured in MiBps, for the file system. Valid for file systems usingThroughputModeset toprovisioned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZoneName
CreateFileSystemResponse.Builder availabilityZoneName(String availabilityZoneName)
Describes the Amazon Web Services Availability Zone in which the file system is located, and is valid only for One Zone file systems. For more information, see Using EFS storage classes in the Amazon EFS User Guide.
- Parameters:
availabilityZoneName- Describes the Amazon Web Services Availability Zone in which the file system is located, and is valid only for One Zone file systems. For more information, see Using EFS storage classes in the Amazon EFS User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZoneId
CreateFileSystemResponse.Builder availabilityZoneId(String availabilityZoneId)
The unique and consistent identifier of the Availability Zone in which the file system is located, and is valid only for One Zone file systems. For example,
use1-az1is an Availability Zone ID for the us-east-1 Amazon Web Services Region, and it has the same location in every Amazon Web Services account.- Parameters:
availabilityZoneId- The unique and consistent identifier of the Availability Zone in which the file system is located, and is valid only for One Zone file systems. For example,use1-az1is an Availability Zone ID for the us-east-1 Amazon Web Services Region, and it has the same location in every Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateFileSystemResponse.Builder tags(Collection<Tag> tags)
The tags associated with the file system, presented as an array of
Tagobjects.- Parameters:
tags- The tags associated with the file system, presented as an array ofTagobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateFileSystemResponse.Builder tags(Tag... tags)
The tags associated with the file system, presented as an array of
Tagobjects.- Parameters:
tags- The tags associated with the file system, presented as an array ofTagobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateFileSystemResponse.Builder tags(Consumer<Tag.Builder>... tags)
The tags associated with the file system, presented as an array of
This is a convenience method that creates an instance of theTagobjects.Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
fileSystemProtection
CreateFileSystemResponse.Builder fileSystemProtection(FileSystemProtectionDescription fileSystemProtection)
Describes the protection on the file system.
- Parameters:
fileSystemProtection- Describes the protection on the file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystemProtection
default CreateFileSystemResponse.Builder fileSystemProtection(Consumer<FileSystemProtectionDescription.Builder> fileSystemProtection)
Describes the protection on the file system.
This is a convenience method that creates an instance of theFileSystemProtectionDescription.Builderavoiding the need to create one manually viaFileSystemProtectionDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofileSystemProtection(FileSystemProtectionDescription).- Parameters:
fileSystemProtection- a consumer that will call methods onFileSystemProtectionDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
fileSystemProtection(FileSystemProtectionDescription)
-
-