/* * Copyright 2018-2023 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.
*
* 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.
*
* Enter a new value to change the amount of throughput capacity for the file system. Throughput capacity is * measured in megabytes per second (MBps). Valid values are 128, 256, 512, 1024, 2048, and 4096 MBps. For more * information, see Managing throughput * capacity in the FSx for ONTAP User Guide. *
*/ 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* (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
* 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.
*
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.
*
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.
*
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.
*
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.
*
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.
*
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. Throughput capacity is * measured in megabytes per second (MBps). Valid values are 128, 256, 512, 1024, 2048, and 4096 MBps. For more * information, see Managing throughput * capacity in the FSx for ONTAP User Guide. *
* * @param throughputCapacity * Enter a new value to change the amount of throughput capacity for the file system. Throughput capacity is * measured in megabytes per second (MBps). Valid values are 128, 256, 512, 1024, 2048, and 4096 MBps. For * more information, see Managing * throughput capacity in the FSx for ONTAP User Guide. */ public void setThroughputCapacity(Integer throughputCapacity) { this.throughputCapacity = throughputCapacity; } /** ** Enter a new value to change the amount of throughput capacity for the file system. Throughput capacity is * measured in megabytes per second (MBps). Valid values are 128, 256, 512, 1024, 2048, and 4096 MBps. For more * information, see Managing throughput * capacity in the FSx for ONTAP User Guide. *
* * @return Enter a new value to change the amount of throughput capacity for the file system. Throughput capacity is * measured in megabytes per second (MBps). Valid values are 128, 256, 512, 1024, 2048, and 4096 MBps. For * more information, see Managing * throughput capacity in the FSx for ONTAP User Guide. */ public Integer getThroughputCapacity() { return this.throughputCapacity; } /** ** Enter a new value to change the amount of throughput capacity for the file system. Throughput capacity is * measured in megabytes per second (MBps). Valid values are 128, 256, 512, 1024, 2048, and 4096 MBps. For more * information, see Managing throughput * capacity in the FSx for ONTAP User Guide. *
* * @param throughputCapacity * Enter a new value to change the amount of throughput capacity for the file system. Throughput capacity is * measured in megabytes per second (MBps). Valid values are 128, 256, 512, 1024, 2048, and 4096 MBps. For * more information, see Managing * throughput capacity in the FSx for ONTAP User Guide. * @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* (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* (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* (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* (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* (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* (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* (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