Interface CreateFileSystemFromBackupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateFileSystemFromBackupRequest.Builder,
,CreateFileSystemFromBackupRequest> FSxRequest.Builder
,SdkBuilder<CreateFileSystemFromBackupRequest.Builder,
,CreateFileSystemFromBackupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateFileSystemFromBackupRequest
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the BackupId property for this object.clientRequestToken
(String clientRequestToken) A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent creation.fileSystemTypeVersion
(String fileSystemTypeVersion) Sets the version for the Amazon FSx for Lustre file system that you're creating from a backup.Sets the value of the KmsKeyId property for this object.lustreConfiguration
(Consumer<CreateFileSystemLustreConfiguration.Builder> lustreConfiguration) Sets the value of the LustreConfiguration property for this object.lustreConfiguration
(CreateFileSystemLustreConfiguration lustreConfiguration) Sets the value of the LustreConfiguration property for this object.openZFSConfiguration
(Consumer<CreateFileSystemOpenZFSConfiguration.Builder> openZFSConfiguration) The OpenZFS configuration for the file system that's being created.openZFSConfiguration
(CreateFileSystemOpenZFSConfiguration openZFSConfiguration) The OpenZFS configuration for the file system that's being created.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.securityGroupIds
(String... securityGroupIds) A list of IDs for the security groups that apply to the specified network interfaces created for file system access.securityGroupIds
(Collection<String> securityGroupIds) A list of IDs for the security groups that apply to the specified network interfaces created for file system access.storageCapacity
(Integer storageCapacity) Sets the storage capacity of the OpenZFS file system that you're creating from a backup, in gibibytes (GiB).storageType
(String storageType) Sets the storage type for the Windows or OpenZFS file system that you're creating from a backup.storageType
(StorageType storageType) Sets the storage type for the Windows or OpenZFS file system that you're creating from a backup.Specifies the IDs of the subnets that the file system will be accessible from.subnetIds
(Collection<String> subnetIds) Specifies the IDs of the subnets that the file system will be accessible from.tags
(Collection<Tag> tags) The tags to be applied to the file system at file system creation.tags
(Consumer<Tag.Builder>... tags) The tags to be applied to the file system at file system creation.The tags to be applied to the file system at file system creation.windowsConfiguration
(Consumer<CreateFileSystemWindowsConfiguration.Builder> windowsConfiguration) The configuration for this Microsoft Windows file system.windowsConfiguration
(CreateFileSystemWindowsConfiguration windowsConfiguration) The configuration for this Microsoft Windows file system.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.fsx.model.FSxRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
backupId
Sets the value of the BackupId property for this object.- Parameters:
backupId
- The new value for the BackupId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
- Parameters:
clientRequestToken
- A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
Specifies the IDs of the subnets that the file system will be accessible from. For Windows
MULTI_AZ_1
file system deployment types, provide exactly two subnet IDs, one for the preferred file server and one for the standby file server. You specify one of these subnets as the preferred subnet using theWindowsConfiguration > PreferredSubnetID
property.Windows
SINGLE_AZ_1
andSINGLE_AZ_2
file system deployment types, Lustre file systems, and OpenZFS file systems provide exactly one subnet ID. The file server is launched in that subnet's Availability Zone.- Parameters:
subnetIds
- Specifies the IDs of the subnets that the file system will be accessible from. For WindowsMULTI_AZ_1
file system deployment types, provide exactly two subnet IDs, one for the preferred file server and one for the standby file server. You specify one of these subnets as the preferred subnet using theWindowsConfiguration > PreferredSubnetID
property.Windows
SINGLE_AZ_1
andSINGLE_AZ_2
file system deployment types, Lustre file systems, and OpenZFS file systems provide exactly one subnet ID. The file server is launched in that subnet's Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
Specifies the IDs of the subnets that the file system will be accessible from. For Windows
MULTI_AZ_1
file system deployment types, provide exactly two subnet IDs, one for the preferred file server and one for the standby file server. You specify one of these subnets as the preferred subnet using theWindowsConfiguration > PreferredSubnetID
property.Windows
SINGLE_AZ_1
andSINGLE_AZ_2
file system deployment types, Lustre file systems, and OpenZFS file systems provide exactly one subnet ID. The file server is launched in that subnet's Availability Zone.- Parameters:
subnetIds
- Specifies the IDs of the subnets that the file system will be accessible from. For WindowsMULTI_AZ_1
file system deployment types, provide exactly two subnet IDs, one for the preferred file server and one for the standby file server. You specify one of these subnets as the preferred subnet using theWindowsConfiguration > PreferredSubnetID
property.Windows
SINGLE_AZ_1
andSINGLE_AZ_2
file system deployment types, Lustre file systems, and OpenZFS file systems provide exactly one subnet ID. The file server is launched in that subnet's Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups apply to all network interfaces. This value isn't returned in later
DescribeFileSystem
requests.- Parameters:
securityGroupIds
- A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups apply to all network interfaces. This value isn't returned in laterDescribeFileSystem
requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups apply to all network interfaces. This value isn't returned in later
DescribeFileSystem
requests.- Parameters:
securityGroupIds
- A list of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups apply to all network interfaces. This value isn't returned in laterDescribeFileSystem
requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to be applied to the file system at file system creation. The key value of the
Name
tag appears in the console as the file system name.- Parameters:
tags
- The tags to be applied to the file system at file system creation. The key value of theName
tag appears in the console as the file system name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to be applied to the file system at file system creation. The key value of the
Name
tag appears in the console as the file system name.- Parameters:
tags
- The tags to be applied to the file system at file system creation. The key value of theName
tag appears in the console as the file system name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to be applied to the file system at file system creation. The key value of the
This is a convenience method that creates an instance of theName
tag appears in the console as the file system name.Tag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- 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:
-
windowsConfiguration
CreateFileSystemFromBackupRequest.Builder windowsConfiguration(CreateFileSystemWindowsConfiguration windowsConfiguration) The configuration for this Microsoft Windows file system.
- Parameters:
windowsConfiguration
- The configuration for this Microsoft Windows file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
windowsConfiguration
default CreateFileSystemFromBackupRequest.Builder windowsConfiguration(Consumer<CreateFileSystemWindowsConfiguration.Builder> windowsConfiguration) The configuration for this Microsoft Windows file system.
This is a convenience method that creates an instance of theCreateFileSystemWindowsConfiguration.Builder
avoiding the need to create one manually viaCreateFileSystemWindowsConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towindowsConfiguration(CreateFileSystemWindowsConfiguration)
.- Parameters:
windowsConfiguration
- a consumer that will call methods onCreateFileSystemWindowsConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lustreConfiguration
CreateFileSystemFromBackupRequest.Builder lustreConfiguration(CreateFileSystemLustreConfiguration lustreConfiguration) Sets the value of the LustreConfiguration property for this object.- Parameters:
lustreConfiguration
- The new value for the LustreConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lustreConfiguration
default CreateFileSystemFromBackupRequest.Builder lustreConfiguration(Consumer<CreateFileSystemLustreConfiguration.Builder> lustreConfiguration) Sets the value of the LustreConfiguration property for this object. This is a convenience method that creates an instance of theCreateFileSystemLustreConfiguration.Builder
avoiding the need to create one manually viaCreateFileSystemLustreConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolustreConfiguration(CreateFileSystemLustreConfiguration)
.- Parameters:
lustreConfiguration
- a consumer that will call methods onCreateFileSystemLustreConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageType
Sets the storage type for the Windows or OpenZFS file system that you're creating from a backup. Valid values are
SSD
andHDD
.-
Set to
SSD
to use solid state drive storage. SSD is supported on all Windows and OpenZFS deployment types. -
Set to
HDD
to use hard disk drive storage. HDD is supported onSINGLE_AZ_2
andMULTI_AZ_1
FSx for Windows File Server file system deployment types.
The default value is
SSD
.HDD and SSD storage types have different minimum storage capacity requirements. A restored file system's storage capacity is tied to the file system that was backed up. You can create a file system that uses HDD storage from a backup of a file system that used SSD storage if the original SSD file system had a storage capacity of at least 2000 GiB.
- Parameters:
storageType
- Sets the storage type for the Windows or OpenZFS file system that you're creating from a backup. Valid values areSSD
andHDD
.-
Set to
SSD
to use solid state drive storage. SSD is supported on all Windows and OpenZFS deployment types. -
Set to
HDD
to use hard disk drive storage. HDD is supported onSINGLE_AZ_2
andMULTI_AZ_1
FSx for Windows File Server file system deployment types.
The default value is
SSD
.HDD and SSD storage types have different minimum storage capacity requirements. A restored file system's storage capacity is tied to the file system that was backed up. You can create a file system that uses HDD storage from a backup of a file system that used SSD storage if the original SSD file system had a storage capacity of at least 2000 GiB.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
storageType
Sets the storage type for the Windows or OpenZFS file system that you're creating from a backup. Valid values are
SSD
andHDD
.-
Set to
SSD
to use solid state drive storage. SSD is supported on all Windows and OpenZFS deployment types. -
Set to
HDD
to use hard disk drive storage. HDD is supported onSINGLE_AZ_2
andMULTI_AZ_1
FSx for Windows File Server file system deployment types.
The default value is
SSD
.HDD and SSD storage types have different minimum storage capacity requirements. A restored file system's storage capacity is tied to the file system that was backed up. You can create a file system that uses HDD storage from a backup of a file system that used SSD storage if the original SSD file system had a storage capacity of at least 2000 GiB.
- Parameters:
storageType
- Sets the storage type for the Windows or OpenZFS file system that you're creating from a backup. Valid values areSSD
andHDD
.-
Set to
SSD
to use solid state drive storage. SSD is supported on all Windows and OpenZFS deployment types. -
Set to
HDD
to use hard disk drive storage. HDD is supported onSINGLE_AZ_2
andMULTI_AZ_1
FSx for Windows File Server file system deployment types.
The default value is
SSD
.HDD and SSD storage types have different minimum storage capacity requirements. A restored file system's storage capacity is tied to the file system that was backed up. You can create a file system that uses HDD storage from a backup of a file system that used SSD storage if the original SSD file system had a storage capacity of at least 2000 GiB.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
kmsKeyId
Sets the value of the KmsKeyId property for this object.- Parameters:
kmsKeyId
- The new value for the KmsKeyId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileSystemTypeVersion
Sets the version for the Amazon FSx for Lustre file system that you're creating from a backup. Valid values are
2.10
,2.12
, and2.15
.You don't need to specify
FileSystemTypeVersion
because it will be applied using the backup'sFileSystemTypeVersion
setting. If you choose to specifyFileSystemTypeVersion
when creating from backup, the value must match the backup'sFileSystemTypeVersion
setting.- Parameters:
fileSystemTypeVersion
- Sets the version for the Amazon FSx for Lustre file system that you're creating from a backup. Valid values are2.10
,2.12
, and2.15
.You don't need to specify
FileSystemTypeVersion
because it will be applied using the backup'sFileSystemTypeVersion
setting. If you choose to specifyFileSystemTypeVersion
when creating from backup, the value must match the backup'sFileSystemTypeVersion
setting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openZFSConfiguration
CreateFileSystemFromBackupRequest.Builder openZFSConfiguration(CreateFileSystemOpenZFSConfiguration openZFSConfiguration) The OpenZFS configuration for the file system that's being created.
- Parameters:
openZFSConfiguration
- The OpenZFS configuration for the file system that's being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openZFSConfiguration
default CreateFileSystemFromBackupRequest.Builder openZFSConfiguration(Consumer<CreateFileSystemOpenZFSConfiguration.Builder> openZFSConfiguration) The OpenZFS configuration for the file system that's being created.
This is a convenience method that creates an instance of theCreateFileSystemOpenZFSConfiguration.Builder
avoiding the need to create one manually viaCreateFileSystemOpenZFSConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopenZFSConfiguration(CreateFileSystemOpenZFSConfiguration)
.- Parameters:
openZFSConfiguration
- a consumer that will call methods onCreateFileSystemOpenZFSConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageCapacity
Sets the storage capacity of the OpenZFS file system that you're creating from a backup, in gibibytes (GiB). Valid values are from 64 GiB up to 524,288 GiB (512 TiB). However, the value that you specify must be equal to or greater than the backup's storage capacity value. If you don't use the
StorageCapacity
parameter, the default is the backup'sStorageCapacity
value.If used to create a file system other than OpenZFS, you must provide a value that matches the backup's
StorageCapacity
value. If you provide any other value, Amazon FSx responds with with an HTTP status code 400 Bad Request.- Parameters:
storageCapacity
- Sets the storage capacity of the OpenZFS file system that you're creating from a backup, in gibibytes (GiB). Valid values are from 64 GiB up to 524,288 GiB (512 TiB). However, the value that you specify must be equal to or greater than the backup's storage capacity value. If you don't use theStorageCapacity
parameter, the default is the backup'sStorageCapacity
value.If used to create a file system other than OpenZFS, you must provide a value that matches the backup's
StorageCapacity
value. If you provide any other value, Amazon FSx responds with with an HTTP status code 400 Bad Request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateFileSystemFromBackupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateFileSystemFromBackupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-