Interface OpenZFSFileSystemConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OpenZFSFileSystemConfiguration.Builder,
,OpenZFSFileSystemConfiguration> SdkBuilder<OpenZFSFileSystemConfiguration.Builder,
,OpenZFSFileSystemConfiguration> SdkPojo
- Enclosing class:
OpenZFSFileSystemConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionautomaticBackupRetentionDays
(Integer automaticBackupRetentionDays) Sets the value of the AutomaticBackupRetentionDays property for this object.copyTagsToBackups
(Boolean copyTagsToBackups) A Boolean value indicating whether tags on the file system should be copied to backups.copyTagsToVolumes
(Boolean copyTagsToVolumes) A Boolean value indicating whether tags for the volume should be copied to snapshots.dailyAutomaticBackupStartTime
(String dailyAutomaticBackupStartTime) Sets the value of the DailyAutomaticBackupStartTime property for this object.deploymentType
(String deploymentType) Specifies the file-system deployment type.deploymentType
(OpenZFSDeploymentType deploymentType) Specifies the file-system deployment type.diskIopsConfiguration
(Consumer<DiskIopsConfiguration.Builder> diskIopsConfiguration) Sets the value of the DiskIopsConfiguration property for this object.diskIopsConfiguration
(DiskIopsConfiguration diskIopsConfiguration) Sets the value of the DiskIopsConfiguration property for this object.endpointIpAddress
(String endpointIpAddress) The IP address of the endpoint that is used to access data or to manage the file system.endpointIpAddressRange
(String endpointIpAddressRange) (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created.preferredSubnetId
(String preferredSubnetId) Required whenDeploymentType
is set toMULTI_AZ_1
.rootVolumeId
(String rootVolumeId) The ID of the root volume of the OpenZFS file system.routeTableIds
(String... routeTableIds) (Multi-AZ only) The VPC route tables in which your file system's endpoints are created.routeTableIds
(Collection<String> routeTableIds) (Multi-AZ only) The VPC route tables in which your file system's endpoints are created.throughputCapacity
(Integer throughputCapacity) The throughput of an Amazon FSx file system, measured in megabytes per second (MBps).weeklyMaintenanceStartTime
(String weeklyMaintenanceStartTime) Sets the value of the WeeklyMaintenanceStartTime property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
automaticBackupRetentionDays
OpenZFSFileSystemConfiguration.Builder automaticBackupRetentionDays(Integer automaticBackupRetentionDays) Sets the value of the AutomaticBackupRetentionDays property for this object.- Parameters:
automaticBackupRetentionDays
- The new value for the AutomaticBackupRetentionDays property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copyTagsToBackups
A Boolean value indicating whether tags on the file system should be copied to backups. If it's set to
true
, all tags on the file system are copied to all automatic backups and any user-initiated backups where the user doesn't specify any tags. If this value istrue
and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value.- Parameters:
copyTagsToBackups
- A Boolean value indicating whether tags on the file system should be copied to backups. If it's set totrue
, all tags on the file system are copied to all automatic backups and any user-initiated backups where the user doesn't specify any tags. If this value istrue
and you specify one or more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated backup, no tags are copied from the file system, regardless of this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copyTagsToVolumes
A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to
false
. If it's set totrue
, all tags for the volume are copied to snapshots where the user doesn't specify tags. If this value istrue
and you specify one or more tags, only the specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are copied from the volume, regardless of this value.- Parameters:
copyTagsToVolumes
- A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults tofalse
. If it's set totrue
, all tags for the volume are copied to snapshots where the user doesn't specify tags. If this value istrue
and you specify one or more tags, only the specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are copied from the volume, regardless of this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dailyAutomaticBackupStartTime
OpenZFSFileSystemConfiguration.Builder dailyAutomaticBackupStartTime(String dailyAutomaticBackupStartTime) Sets the value of the DailyAutomaticBackupStartTime property for this object.- Parameters:
dailyAutomaticBackupStartTime
- The new value for the DailyAutomaticBackupStartTime property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentType
Specifies the file-system deployment type. Amazon FSx for OpenZFS supports
MULTI_AZ_1
,SINGLE_AZ_HA_2
,SINGLE_AZ_HA_1
,SINGLE_AZ_2
, andSINGLE_AZ_1
.- Parameters:
deploymentType
- Specifies the file-system deployment type. Amazon FSx for OpenZFS supportsMULTI_AZ_1
,SINGLE_AZ_HA_2
,SINGLE_AZ_HA_1
,SINGLE_AZ_2
, andSINGLE_AZ_1
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentType
Specifies the file-system deployment type. Amazon FSx for OpenZFS supports
MULTI_AZ_1
,SINGLE_AZ_HA_2
,SINGLE_AZ_HA_1
,SINGLE_AZ_2
, andSINGLE_AZ_1
.- Parameters:
deploymentType
- Specifies the file-system deployment type. Amazon FSx for OpenZFS supportsMULTI_AZ_1
,SINGLE_AZ_HA_2
,SINGLE_AZ_HA_1
,SINGLE_AZ_2
, andSINGLE_AZ_1
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
throughputCapacity
The throughput of an Amazon FSx file system, measured in megabytes per second (MBps).
- Parameters:
throughputCapacity
- The throughput of an Amazon FSx file system, measured in megabytes per second (MBps).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weeklyMaintenanceStartTime
OpenZFSFileSystemConfiguration.Builder weeklyMaintenanceStartTime(String weeklyMaintenanceStartTime) Sets the value of the WeeklyMaintenanceStartTime property for this object.- Parameters:
weeklyMaintenanceStartTime
- The new value for the WeeklyMaintenanceStartTime property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diskIopsConfiguration
OpenZFSFileSystemConfiguration.Builder diskIopsConfiguration(DiskIopsConfiguration diskIopsConfiguration) Sets the value of the DiskIopsConfiguration property for this object.- Parameters:
diskIopsConfiguration
- The new value for the DiskIopsConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diskIopsConfiguration
default OpenZFSFileSystemConfiguration.Builder diskIopsConfiguration(Consumer<DiskIopsConfiguration.Builder> diskIopsConfiguration) Sets the value of the DiskIopsConfiguration property for this object. This is a convenience method that creates an instance of theDiskIopsConfiguration.Builder
avoiding the need to create one manually viaDiskIopsConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todiskIopsConfiguration(DiskIopsConfiguration)
.- Parameters:
diskIopsConfiguration
- a consumer that will call methods onDiskIopsConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rootVolumeId
The ID of the root volume of the OpenZFS file system.
- Parameters:
rootVolumeId
- The ID of the root volume of the OpenZFS file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferredSubnetId
Required when
DeploymentType
is set toMULTI_AZ_1
. This specifies the subnet in which you want the preferred file server to be located.- Parameters:
preferredSubnetId
- Required whenDeploymentType
is set toMULTI_AZ_1
. This specifies the subnet in which you want the preferred file server to be located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointIpAddressRange
(Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created. By default in the Amazon FSx API and Amazon FSx console, Amazon FSx selects an available /28 IP address range for you from one of the VPC's CIDR ranges. You can have overlapping endpoint IP addresses for file systems deployed in the same VPC/route tables.
- Parameters:
endpointIpAddressRange
- (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created. By default in the Amazon FSx API and Amazon FSx console, Amazon FSx selects an available /28 IP address range for you from one of the VPC's CIDR ranges. You can have overlapping endpoint IP addresses for file systems deployed in the same VPC/route tables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeTableIds
(Multi-AZ only) The VPC route tables in which your file system's endpoints are created.
- Parameters:
routeTableIds
- (Multi-AZ only) The VPC route tables in which your file system's endpoints are created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeTableIds
(Multi-AZ only) The VPC route tables in which your file system's endpoints are created.
- Parameters:
routeTableIds
- (Multi-AZ only) The VPC route tables in which your file system's endpoints are created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointIpAddress
The IP address of the endpoint that is used to access data or to manage the file system.
- Parameters:
endpointIpAddress
- The IP address of the endpoint that is used to access data or to manage the file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-