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

com.amazonaws.services.fsx.model.UpdateFileSystemOntapConfiguration 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 updates for an Amazon FSx for NetApp ONTAP file system. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UpdateFileSystemOntapConfiguration implements Serializable, Cloneable, StructuredPojo { private Integer automaticBackupRetentionDays; private String dailyAutomaticBackupStartTime; /** *

* Update the password for the fsxadmin user by entering a new password. You use the * fsxadmin user to access the NetApp ONTAP CLI and REST API to manage your file system resources. For * more information, see Managing resources * using NetApp Applicaton. *

*/ private String fsxAdminPassword; private String weeklyMaintenanceStartTime; /** *

* The SSD IOPS (input output operations per second) configuration for an Amazon FSx for NetApp ONTAP file system. * The default is 3 IOPS per GB of storage capacity, but you can provision additional IOPS per GB of storage. The * configuration consists of an IOPS mode (AUTOMATIC or USER_PROVISIONED), and in the case * of USER_PROVISIONED IOPS, the total number of SSD IOPS provisioned. For more information, see Updating SSD storage * capacity and IOPS. *

*/ private DiskIopsConfiguration diskIopsConfiguration; /** *

* Enter a new value to change the amount of throughput capacity for the file system in megabytes per second (MBps). * For more information, see Managing throughput * capacity in the FSx for ONTAP User Guide. *

*

* Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: *

*
    *
  • *

    * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the same value. *

    *
  • *
  • *

    * The value of ThroughputCapacity when divided by the value of HAPairs is outside of the * valid range for ThroughputCapacity. *

    *
  • *
*/ private Integer throughputCapacity; /** *

* (Multi-AZ only) A list of IDs of new virtual private cloud (VPC) route tables to associate (add) with your Amazon * FSx for NetApp ONTAP file system. *

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

* (Multi-AZ only) A list of IDs of existing virtual private cloud (VPC) route tables to disassociate (remove) from * your Amazon FSx for NetApp ONTAP file system. You can use the API operation to retrieve the list of VPC route * table IDs for a file system. *

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

* Use to choose the throughput capacity per HA pair, rather than the total throughput for the file system. *

*

* This field and ThroughputCapacity cannot be defined in the same API call, but one is required. *

*

* This field and ThroughputCapacity are the same for file systems with one HA pair. *

*
    *
  • *

    * For SINGLE_AZ_1 and MULTI_AZ_1 file systems, valid values are 128, 256, 512, 1024, * 2048, or 4096 MBps. *

    *
  • *
  • *

    * For SINGLE_AZ_2, valid values are 1536, 3072, or 6144 MBps. *

    *
  • *
  • *

    * For MULTI_AZ_2, valid values are 384, 768, 1536, 3072, or 6144 MBps. *

    *
  • *
*

* Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: *

*
    *
  • *

    * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the same value * for file systems with one HA pair. *

    *
  • *
  • *

    * The value of deployment type is SINGLE_AZ_2 and ThroughputCapacity / * ThroughputCapacityPerHAPair is not a valid HA pair (a value between 1 and 12). *

    *
  • *
  • *

    * The value of ThroughputCapacityPerHAPair is not a valid value. *

    *
  • *
*/ private Integer throughputCapacityPerHAPair; /** *

* Use to update the number of high-availability (HA) pairs for a second-generation single-AZ file system. If you * increase the number of HA pairs for your file system, you must specify proportional increases for * StorageCapacity, Iops, and ThroughputCapacity. For more information, see * High- * availability (HA) pairs in the FSx for ONTAP user guide. Block storage protocol support (iSCSI and NVMe over * TCP) is disabled on file systems with more than 6 HA pairs. For more information, see Using * block storage protocols. *

*/ private Integer hAPairs; /** * @param automaticBackupRetentionDays */ public void setAutomaticBackupRetentionDays(Integer automaticBackupRetentionDays) { this.automaticBackupRetentionDays = automaticBackupRetentionDays; } /** * @return */ public Integer getAutomaticBackupRetentionDays() { return this.automaticBackupRetentionDays; } /** * @param automaticBackupRetentionDays * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFileSystemOntapConfiguration withAutomaticBackupRetentionDays(Integer automaticBackupRetentionDays) { setAutomaticBackupRetentionDays(automaticBackupRetentionDays); return this; } /** * @param dailyAutomaticBackupStartTime */ public void setDailyAutomaticBackupStartTime(String dailyAutomaticBackupStartTime) { this.dailyAutomaticBackupStartTime = dailyAutomaticBackupStartTime; } /** * @return */ public String getDailyAutomaticBackupStartTime() { return this.dailyAutomaticBackupStartTime; } /** * @param dailyAutomaticBackupStartTime * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFileSystemOntapConfiguration withDailyAutomaticBackupStartTime(String dailyAutomaticBackupStartTime) { setDailyAutomaticBackupStartTime(dailyAutomaticBackupStartTime); return this; } /** *

* Update the password for the fsxadmin user by entering a new password. You use the * fsxadmin user to access the NetApp ONTAP CLI and REST API to manage your file system resources. For * more information, see Managing resources * using NetApp Applicaton. *

* * @param fsxAdminPassword * Update the password for the fsxadmin user by entering a new password. You use the * fsxadmin user to access the NetApp ONTAP CLI and REST API to manage your file system * resources. For more information, see Managing * resources using NetApp Applicaton. */ public void setFsxAdminPassword(String fsxAdminPassword) { this.fsxAdminPassword = fsxAdminPassword; } /** *

* Update the password for the fsxadmin user by entering a new password. You use the * fsxadmin user to access the NetApp ONTAP CLI and REST API to manage your file system resources. For * more information, see Managing resources * using NetApp Applicaton. *

* * @return Update the password for the fsxadmin user by entering a new password. You use the * fsxadmin user to access the NetApp ONTAP CLI and REST API to manage your file system * resources. For more information, see Managing * resources using NetApp Applicaton. */ public String getFsxAdminPassword() { return this.fsxAdminPassword; } /** *

* Update the password for the fsxadmin user by entering a new password. You use the * fsxadmin user to access the NetApp ONTAP CLI and REST API to manage your file system resources. For * more information, see Managing resources * using NetApp Applicaton. *

* * @param fsxAdminPassword * Update the password for the fsxadmin user by entering a new password. You use the * fsxadmin user to access the NetApp ONTAP CLI and REST API to manage your file system * resources. For more information, see Managing * resources using NetApp Applicaton. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFileSystemOntapConfiguration withFsxAdminPassword(String fsxAdminPassword) { setFsxAdminPassword(fsxAdminPassword); return this; } /** * @param weeklyMaintenanceStartTime */ public void setWeeklyMaintenanceStartTime(String weeklyMaintenanceStartTime) { this.weeklyMaintenanceStartTime = weeklyMaintenanceStartTime; } /** * @return */ public String getWeeklyMaintenanceStartTime() { return this.weeklyMaintenanceStartTime; } /** * @param weeklyMaintenanceStartTime * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFileSystemOntapConfiguration withWeeklyMaintenanceStartTime(String weeklyMaintenanceStartTime) { setWeeklyMaintenanceStartTime(weeklyMaintenanceStartTime); return this; } /** *

* The SSD IOPS (input output operations per second) configuration for an Amazon FSx for NetApp ONTAP file system. * The default is 3 IOPS per GB of storage capacity, but you can provision additional IOPS per GB of storage. The * configuration consists of an IOPS mode (AUTOMATIC or USER_PROVISIONED), and in the case * of USER_PROVISIONED IOPS, the total number of SSD IOPS provisioned. For more information, see Updating SSD storage * capacity and IOPS. *

* * @param diskIopsConfiguration * The SSD IOPS (input output operations per second) configuration for an Amazon FSx for NetApp ONTAP file * system. The default is 3 IOPS per GB of storage capacity, but you can provision additional IOPS per GB of * storage. The configuration consists of an IOPS mode (AUTOMATIC or * USER_PROVISIONED), and in the case of USER_PROVISIONED IOPS, the total number of * SSD IOPS provisioned. For more information, see Updating SSD * storage capacity and IOPS. */ public void setDiskIopsConfiguration(DiskIopsConfiguration diskIopsConfiguration) { this.diskIopsConfiguration = diskIopsConfiguration; } /** *

* The SSD IOPS (input output operations per second) configuration for an Amazon FSx for NetApp ONTAP file system. * The default is 3 IOPS per GB of storage capacity, but you can provision additional IOPS per GB of storage. The * configuration consists of an IOPS mode (AUTOMATIC or USER_PROVISIONED), and in the case * of USER_PROVISIONED IOPS, the total number of SSD IOPS provisioned. For more information, see Updating SSD storage * capacity and IOPS. *

* * @return The SSD IOPS (input output operations per second) configuration for an Amazon FSx for NetApp ONTAP file * system. The default is 3 IOPS per GB of storage capacity, but you can provision additional IOPS per GB of * storage. The configuration consists of an IOPS mode (AUTOMATIC or * USER_PROVISIONED), and in the case of USER_PROVISIONED IOPS, the total number * of SSD IOPS provisioned. For more information, see Updating SSD * storage capacity and IOPS. */ public DiskIopsConfiguration getDiskIopsConfiguration() { return this.diskIopsConfiguration; } /** *

* The SSD IOPS (input output operations per second) configuration for an Amazon FSx for NetApp ONTAP file system. * The default is 3 IOPS per GB of storage capacity, but you can provision additional IOPS per GB of storage. The * configuration consists of an IOPS mode (AUTOMATIC or USER_PROVISIONED), and in the case * of USER_PROVISIONED IOPS, the total number of SSD IOPS provisioned. For more information, see Updating SSD storage * capacity and IOPS. *

* * @param diskIopsConfiguration * The SSD IOPS (input output operations per second) configuration for an Amazon FSx for NetApp ONTAP file * system. The default is 3 IOPS per GB of storage capacity, but you can provision additional IOPS per GB of * storage. The configuration consists of an IOPS mode (AUTOMATIC or * USER_PROVISIONED), and in the case of USER_PROVISIONED IOPS, the total number of * SSD IOPS provisioned. For more information, see Updating SSD * storage capacity and IOPS. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFileSystemOntapConfiguration withDiskIopsConfiguration(DiskIopsConfiguration diskIopsConfiguration) { setDiskIopsConfiguration(diskIopsConfiguration); return this; } /** *

* Enter a new value to change the amount of throughput capacity for the file system in megabytes per second (MBps). * For more information, see Managing throughput * capacity in the FSx for ONTAP User Guide. *

*

* Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: *

*
    *
  • *

    * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the same value. *

    *
  • *
  • *

    * The value of ThroughputCapacity when divided by the value of HAPairs is outside of the * valid range for ThroughputCapacity. *

    *
  • *
* * @param throughputCapacity * Enter a new value to change the amount of throughput capacity for the file system in megabytes per second * (MBps). For more information, see Managing * throughput capacity in the FSx for ONTAP User Guide.

*

* Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: *

*
    *
  • *

    * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the same * value. *

    *
  • *
  • *

    * The value of ThroughputCapacity when divided by the value of HAPairs is outside * of the valid range for ThroughputCapacity. *

    *
  • */ public void setThroughputCapacity(Integer throughputCapacity) { this.throughputCapacity = throughputCapacity; } /** *

    * Enter a new value to change the amount of throughput capacity for the file system in megabytes per second (MBps). * For more information, see Managing throughput * capacity in the FSx for ONTAP User Guide. *

    *

    * Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: *

    *
      *
    • *

      * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the same value. *

      *
    • *
    • *

      * The value of ThroughputCapacity when divided by the value of HAPairs is outside of the * valid range for ThroughputCapacity. *

      *
    • *
    * * @return Enter a new value to change the amount of throughput capacity for the file system in megabytes per second * (MBps). For more information, see Managing * throughput capacity in the FSx for ONTAP User Guide.

    *

    * Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: *

    *
      *
    • *

      * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the * same value. *

      *
    • *
    • *

      * The value of ThroughputCapacity when divided by the value of HAPairs is outside * of the valid range for ThroughputCapacity. *

      *
    • */ public Integer getThroughputCapacity() { return this.throughputCapacity; } /** *

      * Enter a new value to change the amount of throughput capacity for the file system in megabytes per second (MBps). * For more information, see Managing throughput * capacity in the FSx for ONTAP User Guide. *

      *

      * Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: *

      *
        *
      • *

        * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the same value. *

        *
      • *
      • *

        * The value of ThroughputCapacity when divided by the value of HAPairs is outside of the * valid range for ThroughputCapacity. *

        *
      • *
      * * @param throughputCapacity * Enter a new value to change the amount of throughput capacity for the file system in megabytes per second * (MBps). For more information, see Managing * throughput capacity in the FSx for ONTAP User Guide.

      *

      * Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: *

      *
        *
      • *

        * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the same * value. *

        *
      • *
      • *

        * The value of ThroughputCapacity when divided by the value of HAPairs is outside * of the valid range for ThroughputCapacity. *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFileSystemOntapConfiguration withThroughputCapacity(Integer throughputCapacity) { setThroughputCapacity(throughputCapacity); return this; } /** *

        * (Multi-AZ only) A list of IDs of new virtual private cloud (VPC) route tables to associate (add) with your Amazon * FSx for NetApp ONTAP file system. *

        * * @return (Multi-AZ only) A list of IDs of new virtual private cloud (VPC) route tables to associate (add) with * your Amazon FSx for NetApp ONTAP file system. */ public java.util.List getAddRouteTableIds() { return addRouteTableIds; } /** *

        * (Multi-AZ only) A list of IDs of new virtual private cloud (VPC) route tables to associate (add) with your Amazon * FSx for NetApp ONTAP file system. *

        * * @param addRouteTableIds * (Multi-AZ only) A list of IDs of new virtual private cloud (VPC) route tables to associate (add) with your * Amazon FSx for NetApp ONTAP file system. */ public void setAddRouteTableIds(java.util.Collection addRouteTableIds) { if (addRouteTableIds == null) { this.addRouteTableIds = null; return; } this.addRouteTableIds = new java.util.ArrayList(addRouteTableIds); } /** *

        * (Multi-AZ only) A list of IDs of new virtual private cloud (VPC) route tables to associate (add) with your Amazon * FSx for NetApp ONTAP file system. *

        *

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

        * * @param addRouteTableIds * (Multi-AZ only) A list of IDs of new virtual private cloud (VPC) route tables to associate (add) with your * Amazon FSx for NetApp ONTAP file system. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFileSystemOntapConfiguration withAddRouteTableIds(String... addRouteTableIds) { if (this.addRouteTableIds == null) { setAddRouteTableIds(new java.util.ArrayList(addRouteTableIds.length)); } for (String ele : addRouteTableIds) { this.addRouteTableIds.add(ele); } return this; } /** *

        * (Multi-AZ only) A list of IDs of new virtual private cloud (VPC) route tables to associate (add) with your Amazon * FSx for NetApp ONTAP file system. *

        * * @param addRouteTableIds * (Multi-AZ only) A list of IDs of new virtual private cloud (VPC) route tables to associate (add) with your * Amazon FSx for NetApp ONTAP file system. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFileSystemOntapConfiguration withAddRouteTableIds(java.util.Collection addRouteTableIds) { setAddRouteTableIds(addRouteTableIds); return this; } /** *

        * (Multi-AZ only) A list of IDs of existing virtual private cloud (VPC) route tables to disassociate (remove) from * your Amazon FSx for NetApp ONTAP file system. You can use the API operation to retrieve the list of VPC route * table IDs for a file system. *

        * * @return (Multi-AZ only) A list of IDs of existing virtual private cloud (VPC) route tables to disassociate * (remove) from your Amazon FSx for NetApp ONTAP file system. You can use the API operation to retrieve the * list of VPC route table IDs for a file system. */ public java.util.List getRemoveRouteTableIds() { return removeRouteTableIds; } /** *

        * (Multi-AZ only) A list of IDs of existing virtual private cloud (VPC) route tables to disassociate (remove) from * your Amazon FSx for NetApp ONTAP file system. You can use the API operation to retrieve the list of VPC route * table IDs for a file system. *

        * * @param removeRouteTableIds * (Multi-AZ only) A list of IDs of existing virtual private cloud (VPC) route tables to disassociate * (remove) from your Amazon FSx for NetApp ONTAP file system. You can use the API operation to retrieve the * list of VPC route table IDs for a file system. */ public void setRemoveRouteTableIds(java.util.Collection removeRouteTableIds) { if (removeRouteTableIds == null) { this.removeRouteTableIds = null; return; } this.removeRouteTableIds = new java.util.ArrayList(removeRouteTableIds); } /** *

        * (Multi-AZ only) A list of IDs of existing virtual private cloud (VPC) route tables to disassociate (remove) from * your Amazon FSx for NetApp ONTAP file system. You can use the API operation to retrieve the list of VPC route * table IDs for a file system. *

        *

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

        * * @param removeRouteTableIds * (Multi-AZ only) A list of IDs of existing virtual private cloud (VPC) route tables to disassociate * (remove) from your Amazon FSx for NetApp ONTAP file system. You can use the API operation to retrieve the * list of VPC route table IDs for a file system. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFileSystemOntapConfiguration withRemoveRouteTableIds(String... removeRouteTableIds) { if (this.removeRouteTableIds == null) { setRemoveRouteTableIds(new java.util.ArrayList(removeRouteTableIds.length)); } for (String ele : removeRouteTableIds) { this.removeRouteTableIds.add(ele); } return this; } /** *

        * (Multi-AZ only) A list of IDs of existing virtual private cloud (VPC) route tables to disassociate (remove) from * your Amazon FSx for NetApp ONTAP file system. You can use the API operation to retrieve the list of VPC route * table IDs for a file system. *

        * * @param removeRouteTableIds * (Multi-AZ only) A list of IDs of existing virtual private cloud (VPC) route tables to disassociate * (remove) from your Amazon FSx for NetApp ONTAP file system. You can use the API operation to retrieve the * list of VPC route table IDs for a file system. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFileSystemOntapConfiguration withRemoveRouteTableIds(java.util.Collection removeRouteTableIds) { setRemoveRouteTableIds(removeRouteTableIds); return this; } /** *

        * Use to choose the throughput capacity per HA pair, rather than the total throughput for the file system. *

        *

        * This field and ThroughputCapacity cannot be defined in the same API call, but one is required. *

        *

        * This field and ThroughputCapacity are the same for file systems with one HA pair. *

        *
          *
        • *

          * For SINGLE_AZ_1 and MULTI_AZ_1 file systems, valid values are 128, 256, 512, 1024, * 2048, or 4096 MBps. *

          *
        • *
        • *

          * For SINGLE_AZ_2, valid values are 1536, 3072, or 6144 MBps. *

          *
        • *
        • *

          * For MULTI_AZ_2, valid values are 384, 768, 1536, 3072, or 6144 MBps. *

          *
        • *
        *

        * Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: *

        *
          *
        • *

          * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the same value * for file systems with one HA pair. *

          *
        • *
        • *

          * The value of deployment type is SINGLE_AZ_2 and ThroughputCapacity / * ThroughputCapacityPerHAPair is not a valid HA pair (a value between 1 and 12). *

          *
        • *
        • *

          * The value of ThroughputCapacityPerHAPair is not a valid value. *

          *
        • *
        * * @param throughputCapacityPerHAPair * Use to choose the throughput capacity per HA pair, rather than the total throughput for the file system. *

        *

        * This field and ThroughputCapacity cannot be defined in the same API call, but one is * required. *

        *

        * This field and ThroughputCapacity are the same for file systems with one HA pair. *

        *
          *
        • *

          * For SINGLE_AZ_1 and MULTI_AZ_1 file systems, valid values are 128, 256, 512, * 1024, 2048, or 4096 MBps. *

          *
        • *
        • *

          * For SINGLE_AZ_2, valid values are 1536, 3072, or 6144 MBps. *

          *
        • *
        • *

          * For MULTI_AZ_2, valid values are 384, 768, 1536, 3072, or 6144 MBps. *

          *
        • *
        *

        * Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: *

        *
          *
        • *

          * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the same * value for file systems with one HA pair. *

          *
        • *
        • *

          * The value of deployment type is SINGLE_AZ_2 and ThroughputCapacity / * ThroughputCapacityPerHAPair is not a valid HA pair (a value between 1 and 12). *

          *
        • *
        • *

          * The value of ThroughputCapacityPerHAPair is not a valid value. *

          *
        • */ public void setThroughputCapacityPerHAPair(Integer throughputCapacityPerHAPair) { this.throughputCapacityPerHAPair = throughputCapacityPerHAPair; } /** *

          * Use to choose the throughput capacity per HA pair, rather than the total throughput for the file system. *

          *

          * This field and ThroughputCapacity cannot be defined in the same API call, but one is required. *

          *

          * This field and ThroughputCapacity are the same for file systems with one HA pair. *

          *
            *
          • *

            * For SINGLE_AZ_1 and MULTI_AZ_1 file systems, valid values are 128, 256, 512, 1024, * 2048, or 4096 MBps. *

            *
          • *
          • *

            * For SINGLE_AZ_2, valid values are 1536, 3072, or 6144 MBps. *

            *
          • *
          • *

            * For MULTI_AZ_2, valid values are 384, 768, 1536, 3072, or 6144 MBps. *

            *
          • *
          *

          * Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: *

          *
            *
          • *

            * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the same value * for file systems with one HA pair. *

            *
          • *
          • *

            * The value of deployment type is SINGLE_AZ_2 and ThroughputCapacity / * ThroughputCapacityPerHAPair is not a valid HA pair (a value between 1 and 12). *

            *
          • *
          • *

            * The value of ThroughputCapacityPerHAPair is not a valid value. *

            *
          • *
          * * @return Use to choose the throughput capacity per HA pair, rather than the total throughput for the file system. *

          *

          * This field and ThroughputCapacity cannot be defined in the same API call, but one is * required. *

          *

          * This field and ThroughputCapacity are the same for file systems with one HA pair. *

          *
            *
          • *

            * For SINGLE_AZ_1 and MULTI_AZ_1 file systems, valid values are 128, 256, 512, * 1024, 2048, or 4096 MBps. *

            *
          • *
          • *

            * For SINGLE_AZ_2, valid values are 1536, 3072, or 6144 MBps. *

            *
          • *
          • *

            * For MULTI_AZ_2, valid values are 384, 768, 1536, 3072, or 6144 MBps. *

            *
          • *
          *

          * Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: *

          *
            *
          • *

            * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the * same value for file systems with one HA pair. *

            *
          • *
          • *

            * The value of deployment type is SINGLE_AZ_2 and ThroughputCapacity / * ThroughputCapacityPerHAPair is not a valid HA pair (a value between 1 and 12). *

            *
          • *
          • *

            * The value of ThroughputCapacityPerHAPair is not a valid value. *

            *
          • */ public Integer getThroughputCapacityPerHAPair() { return this.throughputCapacityPerHAPair; } /** *

            * Use to choose the throughput capacity per HA pair, rather than the total throughput for the file system. *

            *

            * This field and ThroughputCapacity cannot be defined in the same API call, but one is required. *

            *

            * This field and ThroughputCapacity are the same for file systems with one HA pair. *

            *
              *
            • *

              * For SINGLE_AZ_1 and MULTI_AZ_1 file systems, valid values are 128, 256, 512, 1024, * 2048, or 4096 MBps. *

              *
            • *
            • *

              * For SINGLE_AZ_2, valid values are 1536, 3072, or 6144 MBps. *

              *
            • *
            • *

              * For MULTI_AZ_2, valid values are 384, 768, 1536, 3072, or 6144 MBps. *

              *
            • *
            *

            * Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: *

            *
              *
            • *

              * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the same value * for file systems with one HA pair. *

              *
            • *
            • *

              * The value of deployment type is SINGLE_AZ_2 and ThroughputCapacity / * ThroughputCapacityPerHAPair is not a valid HA pair (a value between 1 and 12). *

              *
            • *
            • *

              * The value of ThroughputCapacityPerHAPair is not a valid value. *

              *
            • *
            * * @param throughputCapacityPerHAPair * Use to choose the throughput capacity per HA pair, rather than the total throughput for the file system. *

            *

            * This field and ThroughputCapacity cannot be defined in the same API call, but one is * required. *

            *

            * This field and ThroughputCapacity are the same for file systems with one HA pair. *

            *
              *
            • *

              * For SINGLE_AZ_1 and MULTI_AZ_1 file systems, valid values are 128, 256, 512, * 1024, 2048, or 4096 MBps. *

              *
            • *
            • *

              * For SINGLE_AZ_2, valid values are 1536, 3072, or 6144 MBps. *

              *
            • *
            • *

              * For MULTI_AZ_2, valid values are 384, 768, 1536, 3072, or 6144 MBps. *

              *
            • *
            *

            * Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions: *

            *
              *
            • *

              * The value of ThroughputCapacity and ThroughputCapacityPerHAPair are not the same * value for file systems with one HA pair. *

              *
            • *
            • *

              * The value of deployment type is SINGLE_AZ_2 and ThroughputCapacity / * ThroughputCapacityPerHAPair is not a valid HA pair (a value between 1 and 12). *

              *
            • *
            • *

              * The value of ThroughputCapacityPerHAPair is not a valid value. *

              *
            • * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFileSystemOntapConfiguration withThroughputCapacityPerHAPair(Integer throughputCapacityPerHAPair) { setThroughputCapacityPerHAPair(throughputCapacityPerHAPair); return this; } /** *

              * Use to update the number of high-availability (HA) pairs for a second-generation single-AZ file system. If you * increase the number of HA pairs for your file system, you must specify proportional increases for * StorageCapacity, Iops, and ThroughputCapacity. For more information, see * High- * availability (HA) pairs in the FSx for ONTAP user guide. Block storage protocol support (iSCSI and NVMe over * TCP) is disabled on file systems with more than 6 HA pairs. For more information, see Using * block storage protocols. *

              * * @param hAPairs * Use to update the number of high-availability (HA) pairs for a second-generation single-AZ file system. If * you increase the number of HA pairs for your file system, you must specify proportional increases for * StorageCapacity, Iops, and ThroughputCapacity. For more * information, see High-availability (HA) pairs in the FSx for ONTAP user guide. Block storage protocol support (iSCSI * and NVMe over TCP) is disabled on file systems with more than 6 HA pairs. For more information, see Using * block storage protocols. */ public void setHAPairs(Integer hAPairs) { this.hAPairs = hAPairs; } /** *

              * Use to update the number of high-availability (HA) pairs for a second-generation single-AZ file system. If you * increase the number of HA pairs for your file system, you must specify proportional increases for * StorageCapacity, Iops, and ThroughputCapacity. For more information, see * High- * availability (HA) pairs in the FSx for ONTAP user guide. Block storage protocol support (iSCSI and NVMe over * TCP) is disabled on file systems with more than 6 HA pairs. For more information, see Using * block storage protocols. *

              * * @return Use to update the number of high-availability (HA) pairs for a second-generation single-AZ file system. * If you increase the number of HA pairs for your file system, you must specify proportional increases for * StorageCapacity, Iops, and ThroughputCapacity. For more * information, see High-availability (HA) pairs in the FSx for ONTAP user guide. Block storage protocol support (iSCSI * and NVMe over TCP) is disabled on file systems with more than 6 HA pairs. For more information, see * Using block storage protocols. */ public Integer getHAPairs() { return this.hAPairs; } /** *

              * Use to update the number of high-availability (HA) pairs for a second-generation single-AZ file system. If you * increase the number of HA pairs for your file system, you must specify proportional increases for * StorageCapacity, Iops, and ThroughputCapacity. For more information, see * High- * availability (HA) pairs in the FSx for ONTAP user guide. Block storage protocol support (iSCSI and NVMe over * TCP) is disabled on file systems with more than 6 HA pairs. For more information, see Using * block storage protocols. *

              * * @param hAPairs * Use to update the number of high-availability (HA) pairs for a second-generation single-AZ file system. If * you increase the number of HA pairs for your file system, you must specify proportional increases for * StorageCapacity, Iops, and ThroughputCapacity. For more * information, see High-availability (HA) pairs in the FSx for ONTAP user guide. Block storage protocol support (iSCSI * and NVMe over TCP) is disabled on file systems with more than 6 HA pairs. For more information, see Using * block storage protocols. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFileSystemOntapConfiguration withHAPairs(Integer hAPairs) { setHAPairs(hAPairs); 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 (getAutomaticBackupRetentionDays() != null) sb.append("AutomaticBackupRetentionDays: ").append(getAutomaticBackupRetentionDays()).append(","); if (getDailyAutomaticBackupStartTime() != null) sb.append("DailyAutomaticBackupStartTime: ").append(getDailyAutomaticBackupStartTime()).append(","); if (getFsxAdminPassword() != null) sb.append("FsxAdminPassword: ").append("***Sensitive Data Redacted***").append(","); if (getWeeklyMaintenanceStartTime() != null) sb.append("WeeklyMaintenanceStartTime: ").append(getWeeklyMaintenanceStartTime()).append(","); if (getDiskIopsConfiguration() != null) sb.append("DiskIopsConfiguration: ").append(getDiskIopsConfiguration()).append(","); if (getThroughputCapacity() != null) sb.append("ThroughputCapacity: ").append(getThroughputCapacity()).append(","); if (getAddRouteTableIds() != null) sb.append("AddRouteTableIds: ").append(getAddRouteTableIds()).append(","); if (getRemoveRouteTableIds() != null) sb.append("RemoveRouteTableIds: ").append(getRemoveRouteTableIds()).append(","); if (getThroughputCapacityPerHAPair() != null) sb.append("ThroughputCapacityPerHAPair: ").append(getThroughputCapacityPerHAPair()).append(","); if (getHAPairs() != null) sb.append("HAPairs: ").append(getHAPairs()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateFileSystemOntapConfiguration == false) return false; UpdateFileSystemOntapConfiguration other = (UpdateFileSystemOntapConfiguration) obj; if (other.getAutomaticBackupRetentionDays() == null ^ this.getAutomaticBackupRetentionDays() == null) return false; if (other.getAutomaticBackupRetentionDays() != null && other.getAutomaticBackupRetentionDays().equals(this.getAutomaticBackupRetentionDays()) == 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.getFsxAdminPassword() == null ^ this.getFsxAdminPassword() == null) return false; if (other.getFsxAdminPassword() != null && other.getFsxAdminPassword().equals(this.getFsxAdminPassword()) == 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.getDiskIopsConfiguration() == null ^ this.getDiskIopsConfiguration() == null) return false; if (other.getDiskIopsConfiguration() != null && other.getDiskIopsConfiguration().equals(this.getDiskIopsConfiguration()) == 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.getAddRouteTableIds() == null ^ this.getAddRouteTableIds() == null) return false; if (other.getAddRouteTableIds() != null && other.getAddRouteTableIds().equals(this.getAddRouteTableIds()) == false) return false; if (other.getRemoveRouteTableIds() == null ^ this.getRemoveRouteTableIds() == null) return false; if (other.getRemoveRouteTableIds() != null && other.getRemoveRouteTableIds().equals(this.getRemoveRouteTableIds()) == false) return false; if (other.getThroughputCapacityPerHAPair() == null ^ this.getThroughputCapacityPerHAPair() == null) return false; if (other.getThroughputCapacityPerHAPair() != null && other.getThroughputCapacityPerHAPair().equals(this.getThroughputCapacityPerHAPair()) == false) return false; if (other.getHAPairs() == null ^ this.getHAPairs() == null) return false; if (other.getHAPairs() != null && other.getHAPairs().equals(this.getHAPairs()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAutomaticBackupRetentionDays() == null) ? 0 : getAutomaticBackupRetentionDays().hashCode()); hashCode = prime * hashCode + ((getDailyAutomaticBackupStartTime() == null) ? 0 : getDailyAutomaticBackupStartTime().hashCode()); hashCode = prime * hashCode + ((getFsxAdminPassword() == null) ? 0 : getFsxAdminPassword().hashCode()); hashCode = prime * hashCode + ((getWeeklyMaintenanceStartTime() == null) ? 0 : getWeeklyMaintenanceStartTime().hashCode()); hashCode = prime * hashCode + ((getDiskIopsConfiguration() == null) ? 0 : getDiskIopsConfiguration().hashCode()); hashCode = prime * hashCode + ((getThroughputCapacity() == null) ? 0 : getThroughputCapacity().hashCode()); hashCode = prime * hashCode + ((getAddRouteTableIds() == null) ? 0 : getAddRouteTableIds().hashCode()); hashCode = prime * hashCode + ((getRemoveRouteTableIds() == null) ? 0 : getRemoveRouteTableIds().hashCode()); hashCode = prime * hashCode + ((getThroughputCapacityPerHAPair() == null) ? 0 : getThroughputCapacityPerHAPair().hashCode()); hashCode = prime * hashCode + ((getHAPairs() == null) ? 0 : getHAPairs().hashCode()); return hashCode; } @Override public UpdateFileSystemOntapConfiguration clone() { try { return (UpdateFileSystemOntapConfiguration) 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.UpdateFileSystemOntapConfigurationMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy