All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.fsx.model.CreateFileSystemWindowsConfiguration Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon FSx module holds the client classes that are used for communicating with Amazon FSx Service

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.fsx.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* The configuration object for the Microsoft Windows file system used in CreateFileSystem and * CreateFileSystemFromBackup operations. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateFileSystemWindowsConfiguration implements Serializable, Cloneable, StructuredPojo { /** *

* The ID for an existing Amazon Web Services Managed Microsoft Active Directory (AD) instance that the file system * should join when it's created. *

*/ private String activeDirectoryId; private SelfManagedActiveDirectoryConfiguration selfManagedActiveDirectoryConfiguration; /** *

* 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. *

*/ private String deploymentType; /** *

* 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. *

*/ private String preferredSubnetId; /** *

* 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). *

*/ private Integer throughputCapacity; /** *

* 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. *

*/ private String weeklyMaintenanceStartTime; /** *

* The preferred time to take daily automatic backups, formatted HH:MM in the UTC time zone. *

*/ private String dailyAutomaticBackupStartTime; /** *

* 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. *

*/ private Integer automaticBackupRetentionDays; /** *

* 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. *

*/ private Boolean copyTagsToBackups; /** *

* 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. *

*/ private java.util.List aliases; /** *

* 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. *

*/ private WindowsAuditLogCreateConfiguration auditLogConfiguration; /** *

* 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. *

*/ private DiskIopsConfiguration diskIopsConfiguration; /** *

* The ID for an existing Amazon Web Services Managed Microsoft Active Directory (AD) instance that the file system * should join when it's created. *

* * @param activeDirectoryId * The ID for an existing Amazon Web Services Managed Microsoft Active Directory (AD) instance that the file * system should join when it's created. */ public void setActiveDirectoryId(String activeDirectoryId) { this.activeDirectoryId = activeDirectoryId; } /** *

* The ID for an existing Amazon Web Services Managed Microsoft Active Directory (AD) instance that the file system * should join when it's created. *

* * @return The ID for an existing Amazon Web Services Managed Microsoft Active Directory (AD) instance that the file * system should join when it's created. */ public String getActiveDirectoryId() { return this.activeDirectoryId; } /** *

* The ID for an existing Amazon Web Services Managed Microsoft Active Directory (AD) instance that the file system * should join when it's created. *

* * @param activeDirectoryId * The ID for an existing Amazon Web Services Managed Microsoft Active Directory (AD) instance that the file * system should join when it's created. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemWindowsConfiguration withActiveDirectoryId(String activeDirectoryId) { setActiveDirectoryId(activeDirectoryId); return this; } /** * @param selfManagedActiveDirectoryConfiguration */ public void setSelfManagedActiveDirectoryConfiguration(SelfManagedActiveDirectoryConfiguration selfManagedActiveDirectoryConfiguration) { this.selfManagedActiveDirectoryConfiguration = selfManagedActiveDirectoryConfiguration; } /** * @return */ public SelfManagedActiveDirectoryConfiguration getSelfManagedActiveDirectoryConfiguration() { return this.selfManagedActiveDirectoryConfiguration; } /** * @param selfManagedActiveDirectoryConfiguration * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemWindowsConfiguration withSelfManagedActiveDirectoryConfiguration( SelfManagedActiveDirectoryConfiguration selfManagedActiveDirectoryConfiguration) { setSelfManagedActiveDirectoryConfiguration(selfManagedActiveDirectoryConfiguration); return this; } /** *

* 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. *

* * @param deploymentType * 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. * @see WindowsDeploymentType */ public void setDeploymentType(String deploymentType) { this.deploymentType = deploymentType; } /** *

* 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. *

* * @return 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. * @see WindowsDeploymentType */ public String getDeploymentType() { return this.deploymentType; } /** *

* 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. *

* * @param deploymentType * 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. * @return Returns a reference to this object so that method calls can be chained together. * @see WindowsDeploymentType */ public CreateFileSystemWindowsConfiguration withDeploymentType(String deploymentType) { setDeploymentType(deploymentType); return this; } /** *

* 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. *

* * @param deploymentType * 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. * @return Returns a reference to this object so that method calls can be chained together. * @see WindowsDeploymentType */ public CreateFileSystemWindowsConfiguration withDeploymentType(WindowsDeploymentType deploymentType) { this.deploymentType = deploymentType.toString(); return this; } /** *

* 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. *

* * @param preferredSubnetId * 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. */ public void setPreferredSubnetId(String preferredSubnetId) { this.preferredSubnetId = preferredSubnetId; } /** *

* 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. *

* * @return 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. */ public String getPreferredSubnetId() { return this.preferredSubnetId; } /** *

* 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. *

* * @param preferredSubnetId * 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemWindowsConfiguration withPreferredSubnetId(String preferredSubnetId) { setPreferredSubnetId(preferredSubnetId); return this; } /** *

* 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). *

* * @param throughputCapacity * 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). */ public void setThroughputCapacity(Integer throughputCapacity) { this.throughputCapacity = throughputCapacity; } /** *

* 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). *

* * @return 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). */ public Integer getThroughputCapacity() { return this.throughputCapacity; } /** *

* 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). *

* * @param throughputCapacity * 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). * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemWindowsConfiguration withThroughputCapacity(Integer throughputCapacity) { setThroughputCapacity(throughputCapacity); return this; } /** *

* 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. *

* * @param weeklyMaintenanceStartTime * 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. */ public void setWeeklyMaintenanceStartTime(String weeklyMaintenanceStartTime) { this.weeklyMaintenanceStartTime = weeklyMaintenanceStartTime; } /** *

* 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. *

* * @return 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. */ public String getWeeklyMaintenanceStartTime() { return this.weeklyMaintenanceStartTime; } /** *

* 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. *

* * @param weeklyMaintenanceStartTime * 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemWindowsConfiguration withWeeklyMaintenanceStartTime(String weeklyMaintenanceStartTime) { setWeeklyMaintenanceStartTime(weeklyMaintenanceStartTime); return this; } /** *

* The preferred time to take daily automatic backups, formatted HH:MM in the UTC time zone. *

* * @param dailyAutomaticBackupStartTime * The preferred time to take daily automatic backups, formatted HH:MM in the UTC time zone. */ public void setDailyAutomaticBackupStartTime(String dailyAutomaticBackupStartTime) { this.dailyAutomaticBackupStartTime = dailyAutomaticBackupStartTime; } /** *

* The preferred time to take daily automatic backups, formatted HH:MM in the UTC time zone. *

* * @return The preferred time to take daily automatic backups, formatted HH:MM in the UTC time zone. */ public String getDailyAutomaticBackupStartTime() { return this.dailyAutomaticBackupStartTime; } /** *

* The preferred time to take daily automatic backups, formatted HH:MM in the UTC time zone. *

* * @param dailyAutomaticBackupStartTime * The preferred time to take daily automatic backups, formatted HH:MM in the UTC time zone. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemWindowsConfiguration withDailyAutomaticBackupStartTime(String dailyAutomaticBackupStartTime) { setDailyAutomaticBackupStartTime(dailyAutomaticBackupStartTime); return this; } /** *

* 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. *

* * @param automaticBackupRetentionDays * 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. */ public void setAutomaticBackupRetentionDays(Integer automaticBackupRetentionDays) { this.automaticBackupRetentionDays = automaticBackupRetentionDays; } /** *

* 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. *

* * @return 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. */ public Integer getAutomaticBackupRetentionDays() { return this.automaticBackupRetentionDays; } /** *

* 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. *

* * @param automaticBackupRetentionDays * 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemWindowsConfiguration withAutomaticBackupRetentionDays(Integer automaticBackupRetentionDays) { setAutomaticBackupRetentionDays(automaticBackupRetentionDays); return this; } /** *

* 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. *

* * @param copyTagsToBackups * 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. */ public void setCopyTagsToBackups(Boolean copyTagsToBackups) { this.copyTagsToBackups = copyTagsToBackups; } /** *

* 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. *

* * @return 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. */ public Boolean getCopyTagsToBackups() { return this.copyTagsToBackups; } /** *

* 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. *

* * @param copyTagsToBackups * 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemWindowsConfiguration withCopyTagsToBackups(Boolean copyTagsToBackups) { setCopyTagsToBackups(copyTagsToBackups); return this; } /** *

* 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. *

* * @return 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. */ public Boolean isCopyTagsToBackups() { return this.copyTagsToBackups; } /** *

* 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. *

* * @return 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. */ public java.util.List getAliases() { return 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. *

* * @param 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. */ public void setAliases(java.util.Collection aliases) { if (aliases == null) { this.aliases = null; return; } this.aliases = new java.util.ArrayList(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. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setAliases(java.util.Collection)} or {@link #withAliases(java.util.Collection)} if you want to override * the existing values. *

* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemWindowsConfiguration withAliases(String... aliases) { if (this.aliases == null) { setAliases(new java.util.ArrayList(aliases.length)); } for (String ele : aliases) { this.aliases.add(ele); } return this; } /** *

* 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. *

* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemWindowsConfiguration withAliases(java.util.Collection aliases) { setAliases(aliases); return this; } /** *

* 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. *

* * @param auditLogConfiguration * 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. */ public void setAuditLogConfiguration(WindowsAuditLogCreateConfiguration auditLogConfiguration) { this.auditLogConfiguration = auditLogConfiguration; } /** *

* 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. *

* * @return 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. */ public WindowsAuditLogCreateConfiguration getAuditLogConfiguration() { return this.auditLogConfiguration; } /** *

* 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. *

* * @param auditLogConfiguration * 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemWindowsConfiguration withAuditLogConfiguration(WindowsAuditLogCreateConfiguration auditLogConfiguration) { setAuditLogConfiguration(auditLogConfiguration); return this; } /** *

* 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. *

* * @param 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. */ public void setDiskIopsConfiguration(DiskIopsConfiguration diskIopsConfiguration) { this.diskIopsConfiguration = 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. *

* * @return 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. */ public DiskIopsConfiguration getDiskIopsConfiguration() { return this.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. *

* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFileSystemWindowsConfiguration withDiskIopsConfiguration(DiskIopsConfiguration diskIopsConfiguration) { setDiskIopsConfiguration(diskIopsConfiguration); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getActiveDirectoryId() != null) sb.append("ActiveDirectoryId: ").append(getActiveDirectoryId()).append(","); if (getSelfManagedActiveDirectoryConfiguration() != null) sb.append("SelfManagedActiveDirectoryConfiguration: ").append(getSelfManagedActiveDirectoryConfiguration()).append(","); if (getDeploymentType() != null) sb.append("DeploymentType: ").append(getDeploymentType()).append(","); if (getPreferredSubnetId() != null) sb.append("PreferredSubnetId: ").append(getPreferredSubnetId()).append(","); if (getThroughputCapacity() != null) sb.append("ThroughputCapacity: ").append(getThroughputCapacity()).append(","); if (getWeeklyMaintenanceStartTime() != null) sb.append("WeeklyMaintenanceStartTime: ").append(getWeeklyMaintenanceStartTime()).append(","); if (getDailyAutomaticBackupStartTime() != null) sb.append("DailyAutomaticBackupStartTime: ").append(getDailyAutomaticBackupStartTime()).append(","); if (getAutomaticBackupRetentionDays() != null) sb.append("AutomaticBackupRetentionDays: ").append(getAutomaticBackupRetentionDays()).append(","); if (getCopyTagsToBackups() != null) sb.append("CopyTagsToBackups: ").append(getCopyTagsToBackups()).append(","); if (getAliases() != null) sb.append("Aliases: ").append(getAliases()).append(","); if (getAuditLogConfiguration() != null) sb.append("AuditLogConfiguration: ").append(getAuditLogConfiguration()).append(","); if (getDiskIopsConfiguration() != null) sb.append("DiskIopsConfiguration: ").append(getDiskIopsConfiguration()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreateFileSystemWindowsConfiguration == false) return false; CreateFileSystemWindowsConfiguration other = (CreateFileSystemWindowsConfiguration) obj; if (other.getActiveDirectoryId() == null ^ this.getActiveDirectoryId() == null) return false; if (other.getActiveDirectoryId() != null && other.getActiveDirectoryId().equals(this.getActiveDirectoryId()) == false) return false; if (other.getSelfManagedActiveDirectoryConfiguration() == null ^ this.getSelfManagedActiveDirectoryConfiguration() == null) return false; if (other.getSelfManagedActiveDirectoryConfiguration() != null && other.getSelfManagedActiveDirectoryConfiguration().equals(this.getSelfManagedActiveDirectoryConfiguration()) == false) return false; if (other.getDeploymentType() == null ^ this.getDeploymentType() == null) return false; if (other.getDeploymentType() != null && other.getDeploymentType().equals(this.getDeploymentType()) == false) return false; if (other.getPreferredSubnetId() == null ^ this.getPreferredSubnetId() == null) return false; if (other.getPreferredSubnetId() != null && other.getPreferredSubnetId().equals(this.getPreferredSubnetId()) == false) return false; if (other.getThroughputCapacity() == null ^ this.getThroughputCapacity() == null) return false; if (other.getThroughputCapacity() != null && other.getThroughputCapacity().equals(this.getThroughputCapacity()) == false) return false; if (other.getWeeklyMaintenanceStartTime() == null ^ this.getWeeklyMaintenanceStartTime() == null) return false; if (other.getWeeklyMaintenanceStartTime() != null && other.getWeeklyMaintenanceStartTime().equals(this.getWeeklyMaintenanceStartTime()) == false) return false; if (other.getDailyAutomaticBackupStartTime() == null ^ this.getDailyAutomaticBackupStartTime() == null) return false; if (other.getDailyAutomaticBackupStartTime() != null && other.getDailyAutomaticBackupStartTime().equals(this.getDailyAutomaticBackupStartTime()) == false) return false; if (other.getAutomaticBackupRetentionDays() == null ^ this.getAutomaticBackupRetentionDays() == null) return false; if (other.getAutomaticBackupRetentionDays() != null && other.getAutomaticBackupRetentionDays().equals(this.getAutomaticBackupRetentionDays()) == false) return false; if (other.getCopyTagsToBackups() == null ^ this.getCopyTagsToBackups() == null) return false; if (other.getCopyTagsToBackups() != null && other.getCopyTagsToBackups().equals(this.getCopyTagsToBackups()) == false) return false; if (other.getAliases() == null ^ this.getAliases() == null) return false; if (other.getAliases() != null && other.getAliases().equals(this.getAliases()) == false) return false; if (other.getAuditLogConfiguration() == null ^ this.getAuditLogConfiguration() == null) return false; if (other.getAuditLogConfiguration() != null && other.getAuditLogConfiguration().equals(this.getAuditLogConfiguration()) == false) return false; if (other.getDiskIopsConfiguration() == null ^ this.getDiskIopsConfiguration() == null) return false; if (other.getDiskIopsConfiguration() != null && other.getDiskIopsConfiguration().equals(this.getDiskIopsConfiguration()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getActiveDirectoryId() == null) ? 0 : getActiveDirectoryId().hashCode()); hashCode = prime * hashCode + ((getSelfManagedActiveDirectoryConfiguration() == null) ? 0 : getSelfManagedActiveDirectoryConfiguration().hashCode()); hashCode = prime * hashCode + ((getDeploymentType() == null) ? 0 : getDeploymentType().hashCode()); hashCode = prime * hashCode + ((getPreferredSubnetId() == null) ? 0 : getPreferredSubnetId().hashCode()); hashCode = prime * hashCode + ((getThroughputCapacity() == null) ? 0 : getThroughputCapacity().hashCode()); hashCode = prime * hashCode + ((getWeeklyMaintenanceStartTime() == null) ? 0 : getWeeklyMaintenanceStartTime().hashCode()); hashCode = prime * hashCode + ((getDailyAutomaticBackupStartTime() == null) ? 0 : getDailyAutomaticBackupStartTime().hashCode()); hashCode = prime * hashCode + ((getAutomaticBackupRetentionDays() == null) ? 0 : getAutomaticBackupRetentionDays().hashCode()); hashCode = prime * hashCode + ((getCopyTagsToBackups() == null) ? 0 : getCopyTagsToBackups().hashCode()); hashCode = prime * hashCode + ((getAliases() == null) ? 0 : getAliases().hashCode()); hashCode = prime * hashCode + ((getAuditLogConfiguration() == null) ? 0 : getAuditLogConfiguration().hashCode()); hashCode = prime * hashCode + ((getDiskIopsConfiguration() == null) ? 0 : getDiskIopsConfiguration().hashCode()); return hashCode; } @Override public CreateFileSystemWindowsConfiguration clone() { try { return (CreateFileSystemWindowsConfiguration) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.fsx.model.transform.CreateFileSystemWindowsConfigurationMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy