#[non_exhaustive]pub struct CreateFileSystemWindowsConfigurationBuilder { /* private fields */ }
Expand description
A builder for CreateFileSystemWindowsConfiguration
.
Implementations§
source§impl CreateFileSystemWindowsConfigurationBuilder
impl CreateFileSystemWindowsConfigurationBuilder
sourcepub fn active_directory_id(self, input: impl Into<String>) -> Self
pub fn active_directory_id(self, input: impl Into<String>) -> Self
The ID for an existing Amazon Web Services Managed Microsoft Active Directory (AD) instance that the file system should join when it's created.
sourcepub fn set_active_directory_id(self, input: Option<String>) -> Self
pub fn set_active_directory_id(self, input: Option<String>) -> Self
The ID for an existing Amazon Web Services Managed Microsoft Active Directory (AD) instance that the file system should join when it's created.
sourcepub fn get_active_directory_id(&self) -> &Option<String>
pub fn get_active_directory_id(&self) -> &Option<String>
The ID for an existing Amazon Web Services Managed Microsoft Active Directory (AD) instance that the file system should join when it's created.
sourcepub fn self_managed_active_directory_configuration(
self,
input: SelfManagedActiveDirectoryConfiguration
) -> Self
pub fn self_managed_active_directory_configuration( self, input: SelfManagedActiveDirectoryConfiguration ) -> Self
The configuration that Amazon FSx uses to join a FSx for Windows File Server file system or an FSx for ONTAP storage virtual machine (SVM) to a self-managed (including on-premises) Microsoft Active Directory (AD) directory. For more information, see Using Amazon FSx for Windows with your self-managed Microsoft Active Directory or Managing FSx for ONTAP SVMs.
sourcepub fn set_self_managed_active_directory_configuration(
self,
input: Option<SelfManagedActiveDirectoryConfiguration>
) -> Self
pub fn set_self_managed_active_directory_configuration( self, input: Option<SelfManagedActiveDirectoryConfiguration> ) -> Self
The configuration that Amazon FSx uses to join a FSx for Windows File Server file system or an FSx for ONTAP storage virtual machine (SVM) to a self-managed (including on-premises) Microsoft Active Directory (AD) directory. For more information, see Using Amazon FSx for Windows with your self-managed Microsoft Active Directory or Managing FSx for ONTAP SVMs.
sourcepub fn get_self_managed_active_directory_configuration(
&self
) -> &Option<SelfManagedActiveDirectoryConfiguration>
pub fn get_self_managed_active_directory_configuration( &self ) -> &Option<SelfManagedActiveDirectoryConfiguration>
The configuration that Amazon FSx uses to join a FSx for Windows File Server file system or an FSx for ONTAP storage virtual machine (SVM) to a self-managed (including on-premises) Microsoft Active Directory (AD) directory. For more information, see Using Amazon FSx for Windows with your self-managed Microsoft Active Directory or Managing FSx for ONTAP SVMs.
sourcepub fn deployment_type(self, input: WindowsDeploymentType) -> Self
pub fn deployment_type(self, input: WindowsDeploymentType) -> Self
Specifies the file system deployment type, valid values are the following:
-
MULTI_AZ_1
- Deploys a high availability file system that is configured for Multi-AZ redundancy to tolerate temporary Availability Zone (AZ) unavailability. You can only deploy a Multi-AZ file system in Amazon Web Services Regions that have a minimum of three Availability Zones. Also supports HDD storage type -
SINGLE_AZ_1
- (Default) Choose to deploy a file system that is configured for single AZ redundancy. -
SINGLE_AZ_2
- The latest generation Single AZ file system. Specifies a file system that is configured for single AZ redundancy and supports HDD storage type.
For more information, see Availability and Durability: Single-AZ and Multi-AZ File Systems.
sourcepub fn set_deployment_type(self, input: Option<WindowsDeploymentType>) -> Self
pub fn set_deployment_type(self, input: Option<WindowsDeploymentType>) -> Self
Specifies the file system deployment type, valid values are the following:
-
MULTI_AZ_1
- Deploys a high availability file system that is configured for Multi-AZ redundancy to tolerate temporary Availability Zone (AZ) unavailability. You can only deploy a Multi-AZ file system in Amazon Web Services Regions that have a minimum of three Availability Zones. Also supports HDD storage type -
SINGLE_AZ_1
- (Default) Choose to deploy a file system that is configured for single AZ redundancy. -
SINGLE_AZ_2
- The latest generation Single AZ file system. Specifies a file system that is configured for single AZ redundancy and supports HDD storage type.
For more information, see Availability and Durability: Single-AZ and Multi-AZ File Systems.
sourcepub fn get_deployment_type(&self) -> &Option<WindowsDeploymentType>
pub fn get_deployment_type(&self) -> &Option<WindowsDeploymentType>
Specifies the file system deployment type, valid values are the following:
-
MULTI_AZ_1
- Deploys a high availability file system that is configured for Multi-AZ redundancy to tolerate temporary Availability Zone (AZ) unavailability. You can only deploy a Multi-AZ file system in Amazon Web Services Regions that have a minimum of three Availability Zones. Also supports HDD storage type -
SINGLE_AZ_1
- (Default) Choose to deploy a file system that is configured for single AZ redundancy. -
SINGLE_AZ_2
- The latest generation Single AZ file system. Specifies a file system that is configured for single AZ redundancy and supports HDD storage type.
For more information, see Availability and Durability: Single-AZ and Multi-AZ File Systems.
sourcepub fn preferred_subnet_id(self, input: impl Into<String>) -> Self
pub fn preferred_subnet_id(self, input: impl Into<String>) -> Self
Required when DeploymentType
is set to MULTI_AZ_1
. This specifies the subnet in which you want the preferred file server to be located. For in-Amazon Web Services applications, we recommend that you launch your clients in the same Availability Zone (AZ) as your preferred file server to reduce cross-AZ data transfer costs and minimize latency.
sourcepub fn set_preferred_subnet_id(self, input: Option<String>) -> Self
pub fn set_preferred_subnet_id(self, input: Option<String>) -> Self
Required when DeploymentType
is set to MULTI_AZ_1
. This specifies the subnet in which you want the preferred file server to be located. For in-Amazon Web Services applications, we recommend that you launch your clients in the same Availability Zone (AZ) as your preferred file server to reduce cross-AZ data transfer costs and minimize latency.
sourcepub fn get_preferred_subnet_id(&self) -> &Option<String>
pub fn get_preferred_subnet_id(&self) -> &Option<String>
Required when DeploymentType
is set to MULTI_AZ_1
. This specifies the subnet in which you want the preferred file server to be located. For in-Amazon Web Services applications, we recommend that you launch your clients in the same Availability Zone (AZ) as your preferred file server to reduce cross-AZ data transfer costs and minimize latency.
sourcepub fn throughput_capacity(self, input: i32) -> Self
pub fn throughput_capacity(self, input: i32) -> Self
Sets the throughput capacity of an Amazon FSx file system, measured in megabytes per second (MB/s), in 2 to the nth increments, between 2^3 (8) and 2^11 (2048).
This field is required.sourcepub fn set_throughput_capacity(self, input: Option<i32>) -> Self
pub fn set_throughput_capacity(self, input: Option<i32>) -> Self
Sets the throughput capacity of an Amazon FSx file system, measured in megabytes per second (MB/s), in 2 to the nth increments, between 2^3 (8) and 2^11 (2048).
sourcepub fn get_throughput_capacity(&self) -> &Option<i32>
pub fn get_throughput_capacity(&self) -> &Option<i32>
Sets the throughput capacity of an Amazon FSx file system, measured in megabytes per second (MB/s), in 2 to the nth increments, between 2^3 (8) and 2^11 (2048).
sourcepub fn weekly_maintenance_start_time(self, input: impl Into<String>) -> Self
pub fn weekly_maintenance_start_time(self, input: impl Into<String>) -> Self
The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.
sourcepub fn set_weekly_maintenance_start_time(self, input: Option<String>) -> Self
pub fn set_weekly_maintenance_start_time(self, input: Option<String>) -> Self
The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.
sourcepub fn get_weekly_maintenance_start_time(&self) -> &Option<String>
pub fn get_weekly_maintenance_start_time(&self) -> &Option<String>
The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone, where d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday.
sourcepub fn daily_automatic_backup_start_time(self, input: impl Into<String>) -> Self
pub fn daily_automatic_backup_start_time(self, input: impl Into<String>) -> Self
The preferred time to take daily automatic backups, formatted HH:MM in the UTC time zone.
sourcepub fn set_daily_automatic_backup_start_time(
self,
input: Option<String>
) -> Self
pub fn set_daily_automatic_backup_start_time( self, input: Option<String> ) -> Self
The preferred time to take daily automatic backups, formatted HH:MM in the UTC time zone.
sourcepub fn get_daily_automatic_backup_start_time(&self) -> &Option<String>
pub fn get_daily_automatic_backup_start_time(&self) -> &Option<String>
The preferred time to take daily automatic backups, formatted HH:MM in the UTC time zone.
sourcepub fn automatic_backup_retention_days(self, input: i32) -> Self
pub fn automatic_backup_retention_days(self, input: i32) -> Self
The number of days to retain automatic backups. Setting this property to 0
disables automatic backups. You can retain automatic backups for a maximum of 90 days. The default is 30
.
sourcepub fn set_automatic_backup_retention_days(self, input: Option<i32>) -> Self
pub fn set_automatic_backup_retention_days(self, input: Option<i32>) -> Self
The number of days to retain automatic backups. Setting this property to 0
disables automatic backups. You can retain automatic backups for a maximum of 90 days. The default is 30
.
sourcepub fn get_automatic_backup_retention_days(&self) -> &Option<i32>
pub fn get_automatic_backup_retention_days(&self) -> &Option<i32>
The number of days to retain automatic backups. Setting this property to 0
disables automatic backups. You can retain automatic backups for a maximum of 90 days. The default is 30
.
A boolean flag indicating whether tags for the file system should be copied to backups. This value defaults to false. If it's set to true, all tags for the file system are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, 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.
A boolean flag indicating whether tags for the file system should be copied to backups. This value defaults to false. If it's set to true, all tags for the file system are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, 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.
A boolean flag indicating whether tags for the file system should be copied to backups. This value defaults to false. If it's set to true, all tags for the file system are copied to all automatic and user-initiated backups where the user doesn't specify tags. If this value is true, 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.
sourcepub fn aliases(self, input: impl Into<String>) -> Self
pub fn aliases(self, input: impl Into<String>) -> Self
Appends an item to aliases
.
To override the contents of this collection use set_aliases
.
An array of one or more DNS alias names that you want to associate with the Amazon FSx file system. Aliases allow you to use existing DNS names to access the data in your Amazon FSx file system. You can associate up to 50 aliases with a file system at any time. You can associate additional DNS aliases after you create the file system using the AssociateFileSystemAliases operation. You can remove DNS aliases from the file system after it is created using the DisassociateFileSystemAliases operation. You only need to specify the alias name in the request payload.
For more information, see Working with DNS Aliases and Walkthrough 5: Using DNS aliases to access your file system, including additional steps you must take to be able to access your file system using a DNS alias.
An alias name has to meet the following requirements:
-
Formatted as a fully-qualified domain name (FQDN),
hostname.domain
, for example,accounting.example.com
. -
Can contain alphanumeric characters, the underscore (_), and the hyphen (-).
-
Cannot start or end with a hyphen.
-
Can start with a numeric.
For DNS alias names, Amazon FSx stores alphabetic characters as lowercase letters (a-z), regardless of how you specify them: as uppercase letters, lowercase letters, or the corresponding letters in escape codes.
sourcepub fn set_aliases(self, input: Option<Vec<String>>) -> Self
pub fn set_aliases(self, input: Option<Vec<String>>) -> Self
An array of one or more DNS alias names that you want to associate with the Amazon FSx file system. Aliases allow you to use existing DNS names to access the data in your Amazon FSx file system. You can associate up to 50 aliases with a file system at any time. You can associate additional DNS aliases after you create the file system using the AssociateFileSystemAliases operation. You can remove DNS aliases from the file system after it is created using the DisassociateFileSystemAliases operation. You only need to specify the alias name in the request payload.
For more information, see Working with DNS Aliases and Walkthrough 5: Using DNS aliases to access your file system, including additional steps you must take to be able to access your file system using a DNS alias.
An alias name has to meet the following requirements:
-
Formatted as a fully-qualified domain name (FQDN),
hostname.domain
, for example,accounting.example.com
. -
Can contain alphanumeric characters, the underscore (_), and the hyphen (-).
-
Cannot start or end with a hyphen.
-
Can start with a numeric.
For DNS alias names, Amazon FSx stores alphabetic characters as lowercase letters (a-z), regardless of how you specify them: as uppercase letters, lowercase letters, or the corresponding letters in escape codes.
sourcepub fn get_aliases(&self) -> &Option<Vec<String>>
pub fn get_aliases(&self) -> &Option<Vec<String>>
An array of one or more DNS alias names that you want to associate with the Amazon FSx file system. Aliases allow you to use existing DNS names to access the data in your Amazon FSx file system. You can associate up to 50 aliases with a file system at any time. You can associate additional DNS aliases after you create the file system using the AssociateFileSystemAliases operation. You can remove DNS aliases from the file system after it is created using the DisassociateFileSystemAliases operation. You only need to specify the alias name in the request payload.
For more information, see Working with DNS Aliases and Walkthrough 5: Using DNS aliases to access your file system, including additional steps you must take to be able to access your file system using a DNS alias.
An alias name has to meet the following requirements:
-
Formatted as a fully-qualified domain name (FQDN),
hostname.domain
, for example,accounting.example.com
. -
Can contain alphanumeric characters, the underscore (_), and the hyphen (-).
-
Cannot start or end with a hyphen.
-
Can start with a numeric.
For DNS alias names, Amazon FSx stores alphabetic characters as lowercase letters (a-z), regardless of how you specify them: as uppercase letters, lowercase letters, or the corresponding letters in escape codes.
sourcepub fn audit_log_configuration(
self,
input: WindowsAuditLogCreateConfiguration
) -> Self
pub fn audit_log_configuration( self, input: WindowsAuditLogCreateConfiguration ) -> Self
The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system.
sourcepub fn set_audit_log_configuration(
self,
input: Option<WindowsAuditLogCreateConfiguration>
) -> Self
pub fn set_audit_log_configuration( self, input: Option<WindowsAuditLogCreateConfiguration> ) -> Self
The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system.
sourcepub fn get_audit_log_configuration(
&self
) -> &Option<WindowsAuditLogCreateConfiguration>
pub fn get_audit_log_configuration( &self ) -> &Option<WindowsAuditLogCreateConfiguration>
The configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system.
sourcepub fn disk_iops_configuration(self, input: DiskIopsConfiguration) -> Self
pub fn disk_iops_configuration(self, input: DiskIopsConfiguration) -> Self
The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for Windows file system. By default, Amazon FSx automatically provisions 3 IOPS per GiB of storage capacity. You can provision additional IOPS per GiB of storage, up to the maximum limit associated with your chosen throughput capacity.
sourcepub fn set_disk_iops_configuration(
self,
input: Option<DiskIopsConfiguration>
) -> Self
pub fn set_disk_iops_configuration( self, input: Option<DiskIopsConfiguration> ) -> Self
The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for Windows file system. By default, Amazon FSx automatically provisions 3 IOPS per GiB of storage capacity. You can provision additional IOPS per GiB of storage, up to the maximum limit associated with your chosen throughput capacity.
sourcepub fn get_disk_iops_configuration(&self) -> &Option<DiskIopsConfiguration>
pub fn get_disk_iops_configuration(&self) -> &Option<DiskIopsConfiguration>
The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for Windows file system. By default, Amazon FSx automatically provisions 3 IOPS per GiB of storage capacity. You can provision additional IOPS per GiB of storage, up to the maximum limit associated with your chosen throughput capacity.
sourcepub fn build(self) -> CreateFileSystemWindowsConfiguration
pub fn build(self) -> CreateFileSystemWindowsConfiguration
Consumes the builder and constructs a CreateFileSystemWindowsConfiguration
.
Trait Implementations§
source§impl Clone for CreateFileSystemWindowsConfigurationBuilder
impl Clone for CreateFileSystemWindowsConfigurationBuilder
source§fn clone(&self) -> CreateFileSystemWindowsConfigurationBuilder
fn clone(&self) -> CreateFileSystemWindowsConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateFileSystemWindowsConfigurationBuilder
impl Default for CreateFileSystemWindowsConfigurationBuilder
source§fn default() -> CreateFileSystemWindowsConfigurationBuilder
fn default() -> CreateFileSystemWindowsConfigurationBuilder
source§impl PartialEq for CreateFileSystemWindowsConfigurationBuilder
impl PartialEq for CreateFileSystemWindowsConfigurationBuilder
source§fn eq(&self, other: &CreateFileSystemWindowsConfigurationBuilder) -> bool
fn eq(&self, other: &CreateFileSystemWindowsConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.