public static interface FileSystem.Builder extends SdkPojo, CopyableBuilder<FileSystem.Builder,FileSystem>
Modifier and Type | Method and Description |
---|---|
FileSystem.Builder |
creationTime(Instant creationTime)
The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
|
FileSystem.Builder |
dnsName(String dnsName)
The DNS name for the file system.
|
default FileSystem.Builder |
failureDetails(Consumer<FileSystemFailureDetails.Builder> failureDetails)
Sets the value of the FailureDetails property for this object.
|
FileSystem.Builder |
failureDetails(FileSystemFailureDetails failureDetails)
Sets the value of the FailureDetails property for this object.
|
FileSystem.Builder |
fileSystemId(String fileSystemId)
The eight-digit ID of the file system that was automatically assigned by Amazon FSx.
|
FileSystem.Builder |
fileSystemType(FileSystemType fileSystemType)
Type of file system.
|
FileSystem.Builder |
fileSystemType(String fileSystemType)
Type of file system.
|
FileSystem.Builder |
kmsKeyId(String kmsKeyId)
The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the file system's data for an Amazon
FSx for Windows File Server file system.
|
FileSystem.Builder |
lifecycle(FileSystemLifecycle lifecycle)
The lifecycle status of the file system.
|
FileSystem.Builder |
lifecycle(String lifecycle)
The lifecycle status of the file system.
|
default FileSystem.Builder |
lustreConfiguration(Consumer<LustreFileSystemConfiguration.Builder> lustreConfiguration)
Sets the value of the LustreConfiguration property for this object.
|
FileSystem.Builder |
lustreConfiguration(LustreFileSystemConfiguration lustreConfiguration)
Sets the value of the LustreConfiguration property for this object.
|
FileSystem.Builder |
networkInterfaceIds(Collection<String> networkInterfaceIds)
The IDs of the elastic network interface from which a specific file system is accessible.
|
FileSystem.Builder |
networkInterfaceIds(String... networkInterfaceIds)
The IDs of the elastic network interface from which a specific file system is accessible.
|
FileSystem.Builder |
ownerId(String ownerId)
The AWS account that created the file system.
|
FileSystem.Builder |
resourceARN(String resourceARN)
The resource ARN of the file system.
|
FileSystem.Builder |
storageCapacity(Integer storageCapacity)
The storage capacity of the file system in gigabytes.
|
FileSystem.Builder |
subnetIds(Collection<String> subnetIds)
The IDs of the subnets to contain the endpoint for the file system.
|
FileSystem.Builder |
subnetIds(String... subnetIds)
The IDs of the subnets to contain the endpoint for the file system.
|
FileSystem.Builder |
tags(Collection<Tag> tags)
The tags to associate with the file system.
|
FileSystem.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags to associate with the file system.
|
FileSystem.Builder |
tags(Tag... tags)
The tags to associate with the file system.
|
FileSystem.Builder |
vpcId(String vpcId)
The ID of the primary VPC for the file system.
|
default FileSystem.Builder |
windowsConfiguration(Consumer<WindowsFileSystemConfiguration.Builder> windowsConfiguration)
The configuration for this Microsoft Windows file system.
|
FileSystem.Builder |
windowsConfiguration(WindowsFileSystemConfiguration windowsConfiguration)
The configuration for this Microsoft Windows file system.
|
copy
applyMutation, build
FileSystem.Builder ownerId(String ownerId)
The AWS account that created the file system. If the file system was created by an IAM user, the AWS account to which the IAM user belongs is the owner.
ownerId
- The AWS account that created the file system. If the file system was created by an IAM user, the AWS
account to which the IAM user belongs is the owner.FileSystem.Builder creationTime(Instant creationTime)
The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
creationTime
- The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix
time.FileSystem.Builder fileSystemId(String fileSystemId)
The eight-digit ID of the file system that was automatically assigned by Amazon FSx.
fileSystemId
- The eight-digit ID of the file system that was automatically assigned by Amazon FSx.FileSystem.Builder fileSystemType(String fileSystemType)
Type of file system. Currently the only supported type is WINDOWS.
fileSystemType
- Type of file system. Currently the only supported type is WINDOWS.FileSystemType
,
FileSystemType
FileSystem.Builder fileSystemType(FileSystemType fileSystemType)
Type of file system. Currently the only supported type is WINDOWS.
fileSystemType
- Type of file system. Currently the only supported type is WINDOWS.FileSystemType
,
FileSystemType
FileSystem.Builder lifecycle(String lifecycle)
The lifecycle status of the file system.
lifecycle
- The lifecycle status of the file system.FileSystemLifecycle
,
FileSystemLifecycle
FileSystem.Builder lifecycle(FileSystemLifecycle lifecycle)
The lifecycle status of the file system.
lifecycle
- The lifecycle status of the file system.FileSystemLifecycle
,
FileSystemLifecycle
FileSystem.Builder failureDetails(FileSystemFailureDetails failureDetails)
failureDetails
- The new value for the FailureDetails property for this object.default FileSystem.Builder failureDetails(Consumer<FileSystemFailureDetails.Builder> failureDetails)
FileSystemFailureDetails.Builder
avoiding the
need to create one manually via FileSystemFailureDetails.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to failureDetails(FileSystemFailureDetails)
.failureDetails
- a consumer that will call methods on FileSystemFailureDetails.Builder
failureDetails(FileSystemFailureDetails)
FileSystem.Builder storageCapacity(Integer storageCapacity)
The storage capacity of the file system in gigabytes.
storageCapacity
- The storage capacity of the file system in gigabytes.FileSystem.Builder vpcId(String vpcId)
The ID of the primary VPC for the file system.
vpcId
- The ID of the primary VPC for the file system.FileSystem.Builder subnetIds(Collection<String> subnetIds)
The IDs of the subnets to contain the endpoint for the file system. One and only one is supported. The file system is launched in the Availability Zone associated with this subnet.
subnetIds
- The IDs of the subnets to contain the endpoint for the file system. One and only one is supported. The
file system is launched in the Availability Zone associated with this subnet.FileSystem.Builder subnetIds(String... subnetIds)
The IDs of the subnets to contain the endpoint for the file system. One and only one is supported. The file system is launched in the Availability Zone associated with this subnet.
subnetIds
- The IDs of the subnets to contain the endpoint for the file system. One and only one is supported. The
file system is launched in the Availability Zone associated with this subnet.FileSystem.Builder networkInterfaceIds(Collection<String> networkInterfaceIds)
The IDs of the elastic network interface from which a specific file system is accessible. The elastic network interface is automatically created in the same VPC that the Amazon FSx file system was created in. For more information, see Elastic Network Interfaces in the Amazon EC2 User Guide.
For an Amazon FSx for Windows File Server file system, you can have one network interface Id. For an Amazon FSx for Lustre file system, you can have more than one.
networkInterfaceIds
- The IDs of the elastic network interface from which a specific file system is accessible. The elastic
network interface is automatically created in the same VPC that the Amazon FSx file system was created
in. For more information, see Elastic Network
Interfaces in the Amazon EC2 User Guide.
For an Amazon FSx for Windows File Server file system, you can have one network interface Id. For an Amazon FSx for Lustre file system, you can have more than one.
FileSystem.Builder networkInterfaceIds(String... networkInterfaceIds)
The IDs of the elastic network interface from which a specific file system is accessible. The elastic network interface is automatically created in the same VPC that the Amazon FSx file system was created in. For more information, see Elastic Network Interfaces in the Amazon EC2 User Guide.
For an Amazon FSx for Windows File Server file system, you can have one network interface Id. For an Amazon FSx for Lustre file system, you can have more than one.
networkInterfaceIds
- The IDs of the elastic network interface from which a specific file system is accessible. The elastic
network interface is automatically created in the same VPC that the Amazon FSx file system was created
in. For more information, see Elastic Network
Interfaces in the Amazon EC2 User Guide.
For an Amazon FSx for Windows File Server file system, you can have one network interface Id. For an Amazon FSx for Lustre file system, you can have more than one.
FileSystem.Builder dnsName(String dnsName)
The DNS name for the file system.
dnsName
- The DNS name for the file system.FileSystem.Builder kmsKeyId(String kmsKeyId)
The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the file system's data for an Amazon FSx for Windows File Server file system.
kmsKeyId
- The ID of the AWS Key Management Service (AWS KMS) key used to encrypt the file system's data for an
Amazon FSx for Windows File Server file system.FileSystem.Builder resourceARN(String resourceARN)
The resource ARN of the file system.
resourceARN
- The resource ARN of the file system.FileSystem.Builder tags(Collection<Tag> tags)
The tags to associate with the file system. For more information, see Tagging Your Amazon EC2 Resources in the Amazon EC2 User Guide.
tags
- The tags to associate with the file system. For more information, see Tagging Your Amazon EC2
Resources in the Amazon EC2 User Guide.FileSystem.Builder tags(Tag... tags)
The tags to associate with the file system. For more information, see Tagging Your Amazon EC2 Resources in the Amazon EC2 User Guide.
tags
- The tags to associate with the file system. For more information, see Tagging Your Amazon EC2
Resources in the Amazon EC2 User Guide.FileSystem.Builder tags(Consumer<Tag.Builder>... tags)
The tags to associate with the file system. For more information, see Tagging Your Amazon EC2 Resources in the Amazon EC2 User Guide.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
FileSystem.Builder windowsConfiguration(WindowsFileSystemConfiguration windowsConfiguration)
The configuration for this Microsoft Windows file system.
windowsConfiguration
- The configuration for this Microsoft Windows file system.default FileSystem.Builder windowsConfiguration(Consumer<WindowsFileSystemConfiguration.Builder> windowsConfiguration)
The configuration for this Microsoft Windows file system.
This is a convenience that creates an instance of theWindowsFileSystemConfiguration.Builder
avoiding
the need to create one manually via WindowsFileSystemConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to windowsConfiguration(WindowsFileSystemConfiguration)
.windowsConfiguration
- a consumer that will call methods on WindowsFileSystemConfiguration.Builder
windowsConfiguration(WindowsFileSystemConfiguration)
FileSystem.Builder lustreConfiguration(LustreFileSystemConfiguration lustreConfiguration)
lustreConfiguration
- The new value for the LustreConfiguration property for this object.default FileSystem.Builder lustreConfiguration(Consumer<LustreFileSystemConfiguration.Builder> lustreConfiguration)
LustreFileSystemConfiguration.Builder
avoiding
the need to create one manually via LustreFileSystemConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to lustreConfiguration(LustreFileSystemConfiguration)
.lustreConfiguration
- a consumer that will call methods on LustreFileSystemConfiguration.Builder
lustreConfiguration(LustreFileSystemConfiguration)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.