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

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

/*
 * 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 Amazon FSx for Lustre file systems used in the UpdateFileSystem operation. *

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

* (Optional) The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. d is * the weekday number, from 1 through 7, beginning with Monday and ending with Sunday. *

*/ private String weeklyMaintenanceStartTime; 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 0. *

*/ private Integer automaticBackupRetentionDays; /** *

* (Optional) When you create your file system, your existing S3 objects appear as file and directory listings. Use * this property to choose how Amazon FSx keeps your file and directory listing up to date as you add or modify * objects in your linked S3 bucket. AutoImportPolicy can have the following values: *

*
    *
  • *

    * NONE - (Default) AutoImport is off. Amazon FSx only updates file and directory listings from the * linked S3 bucket when the file system is created. FSx does not update the file and directory listing for any new * or changed objects after choosing this option. *

    *
  • *
  • *

    * NEW - AutoImport is on. Amazon FSx automatically imports directory listings of any new objects added * to the linked S3 bucket that do not currently exist in the FSx file system. *

    *
  • *
  • *

    * NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports file and directory listings of any * new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after you choose * this option. *

    *
  • *
  • *

    * NEW_CHANGED_DELETED - AutoImport is on. Amazon FSx automatically imports file and directory listings * of any new objects added to the S3 bucket, any existing objects that are changed in the S3 bucket, and any * objects that were deleted in the S3 bucket. *

    *
  • *
*

* This parameter is not supported for file systems with a data repository association. *

*/ private String autoImportPolicy; /** *

* Sets the data compression configuration for the file system. DataCompressionType can have the * following values: *

*
    *
  • *

    * NONE - Data compression is turned off for the file system. *

    *
  • *
  • *

    * LZ4 - Data compression is turned on with the LZ4 algorithm. *

    *
  • *
*

* If you don't use DataCompressionType, the file system retains its current data compression * configuration. *

*

* For more information, see Lustre data compression. *

*/ private String dataCompressionType; /** *

* The Lustre logging configuration used when updating an Amazon FSx for Lustre file system. When logging is * enabled, Lustre logs error and warning events for data repositories associated with your file system to Amazon * CloudWatch Logs. *

*/ private LustreLogCreateConfiguration logConfiguration; /** *

* The Lustre root squash configuration used when updating an Amazon FSx for Lustre file system. When enabled, root * squash restricts root-level access from clients that try to access your file system as a root user. *

*/ private LustreRootSquashConfiguration rootSquashConfiguration; /** *

* The throughput of an Amazon FSx for Lustre Persistent SSD-based file system, measured in megabytes per second per * tebibyte (MB/s/TiB). You can increase or decrease your file system's throughput. Valid values depend on the * deployment type of the file system, as follows: *

*
    *
  • *

    * For PERSISTENT_1 SSD-based deployment types, valid values are 50, 100, and 200 MB/s/TiB. *

    *
  • *
  • *

    * For PERSISTENT_2 SSD-based deployment types, valid values are 125, 250, 500, and 1000 MB/s/TiB. *

    *
  • *
*

* For more information, see Managing throughput * capacity. *

*/ private Integer perUnitStorageThroughput; /** *

* The Lustre metadata performance configuration for an Amazon FSx for Lustre file system using a * PERSISTENT_2 deployment type. When this configuration is enabled, the file system supports * increasing metadata performance. *

*/ private UpdateFileSystemLustreMetadataConfiguration metadataConfiguration; /** *

* (Optional) The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. d is * the weekday number, from 1 through 7, beginning with Monday and ending with Sunday. *

* * @param weeklyMaintenanceStartTime * (Optional) The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. * d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday. */ public void setWeeklyMaintenanceStartTime(String weeklyMaintenanceStartTime) { this.weeklyMaintenanceStartTime = weeklyMaintenanceStartTime; } /** *

* (Optional) The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. d is * the weekday number, from 1 through 7, beginning with Monday and ending with Sunday. *

* * @return (Optional) The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time * zone. d is the weekday number, from 1 through 7, beginning with Monday and ending with Sunday. */ public String getWeeklyMaintenanceStartTime() { return this.weeklyMaintenanceStartTime; } /** *

* (Optional) The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. d is * the weekday number, from 1 through 7, beginning with Monday and ending with Sunday. *

* * @param weeklyMaintenanceStartTime * (Optional) The preferred start time to perform weekly maintenance, formatted d:HH:MM in the UTC time zone. * 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 UpdateFileSystemLustreConfiguration withWeeklyMaintenanceStartTime(String weeklyMaintenanceStartTime) { setWeeklyMaintenanceStartTime(weeklyMaintenanceStartTime); 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 UpdateFileSystemLustreConfiguration 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 0. *

* * @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 0. */ 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 0. *

* * @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 * 0. */ 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 0. *

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

* (Optional) When you create your file system, your existing S3 objects appear as file and directory listings. Use * this property to choose how Amazon FSx keeps your file and directory listing up to date as you add or modify * objects in your linked S3 bucket. AutoImportPolicy can have the following values: *

*
    *
  • *

    * NONE - (Default) AutoImport is off. Amazon FSx only updates file and directory listings from the * linked S3 bucket when the file system is created. FSx does not update the file and directory listing for any new * or changed objects after choosing this option. *

    *
  • *
  • *

    * NEW - AutoImport is on. Amazon FSx automatically imports directory listings of any new objects added * to the linked S3 bucket that do not currently exist in the FSx file system. *

    *
  • *
  • *

    * NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports file and directory listings of any * new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after you choose * this option. *

    *
  • *
  • *

    * NEW_CHANGED_DELETED - AutoImport is on. Amazon FSx automatically imports file and directory listings * of any new objects added to the S3 bucket, any existing objects that are changed in the S3 bucket, and any * objects that were deleted in the S3 bucket. *

    *
  • *
*

* This parameter is not supported for file systems with a data repository association. *

* * @param autoImportPolicy * (Optional) When you create your file system, your existing S3 objects appear as file and directory * listings. Use this property to choose how Amazon FSx keeps your file and directory listing up to date as * you add or modify objects in your linked S3 bucket. AutoImportPolicy can have the following * values:

*
    *
  • *

    * NONE - (Default) AutoImport is off. Amazon FSx only updates file and directory listings from * the linked S3 bucket when the file system is created. FSx does not update the file and directory listing * for any new or changed objects after choosing this option. *

    *
  • *
  • *

    * NEW - AutoImport is on. Amazon FSx automatically imports directory listings of any new * objects added to the linked S3 bucket that do not currently exist in the FSx file system. *

    *
  • *
  • *

    * NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports file and directory listings * of any new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after * you choose this option. *

    *
  • *
  • *

    * NEW_CHANGED_DELETED - AutoImport is on. Amazon FSx automatically imports file and directory * listings of any new objects added to the S3 bucket, any existing objects that are changed in the S3 * bucket, and any objects that were deleted in the S3 bucket. *

    *
  • *
*

* This parameter is not supported for file systems with a data repository association. * @see AutoImportPolicyType */ public void setAutoImportPolicy(String autoImportPolicy) { this.autoImportPolicy = autoImportPolicy; } /** *

* (Optional) When you create your file system, your existing S3 objects appear as file and directory listings. Use * this property to choose how Amazon FSx keeps your file and directory listing up to date as you add or modify * objects in your linked S3 bucket. AutoImportPolicy can have the following values: *

*
    *
  • *

    * NONE - (Default) AutoImport is off. Amazon FSx only updates file and directory listings from the * linked S3 bucket when the file system is created. FSx does not update the file and directory listing for any new * or changed objects after choosing this option. *

    *
  • *
  • *

    * NEW - AutoImport is on. Amazon FSx automatically imports directory listings of any new objects added * to the linked S3 bucket that do not currently exist in the FSx file system. *

    *
  • *
  • *

    * NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports file and directory listings of any * new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after you choose * this option. *

    *
  • *
  • *

    * NEW_CHANGED_DELETED - AutoImport is on. Amazon FSx automatically imports file and directory listings * of any new objects added to the S3 bucket, any existing objects that are changed in the S3 bucket, and any * objects that were deleted in the S3 bucket. *

    *
  • *
*

* This parameter is not supported for file systems with a data repository association. *

* * @return (Optional) When you create your file system, your existing S3 objects appear as file and directory * listings. Use this property to choose how Amazon FSx keeps your file and directory listing up to date as * you add or modify objects in your linked S3 bucket. AutoImportPolicy can have the following * values:

*
    *
  • *

    * NONE - (Default) AutoImport is off. Amazon FSx only updates file and directory listings from * the linked S3 bucket when the file system is created. FSx does not update the file and directory listing * for any new or changed objects after choosing this option. *

    *
  • *
  • *

    * NEW - AutoImport is on. Amazon FSx automatically imports directory listings of any new * objects added to the linked S3 bucket that do not currently exist in the FSx file system. *

    *
  • *
  • *

    * NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports file and directory listings * of any new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket * after you choose this option. *

    *
  • *
  • *

    * NEW_CHANGED_DELETED - AutoImport is on. Amazon FSx automatically imports file and directory * listings of any new objects added to the S3 bucket, any existing objects that are changed in the S3 * bucket, and any objects that were deleted in the S3 bucket. *

    *
  • *
*

* This parameter is not supported for file systems with a data repository association. * @see AutoImportPolicyType */ public String getAutoImportPolicy() { return this.autoImportPolicy; } /** *

* (Optional) When you create your file system, your existing S3 objects appear as file and directory listings. Use * this property to choose how Amazon FSx keeps your file and directory listing up to date as you add or modify * objects in your linked S3 bucket. AutoImportPolicy can have the following values: *

*
    *
  • *

    * NONE - (Default) AutoImport is off. Amazon FSx only updates file and directory listings from the * linked S3 bucket when the file system is created. FSx does not update the file and directory listing for any new * or changed objects after choosing this option. *

    *
  • *
  • *

    * NEW - AutoImport is on. Amazon FSx automatically imports directory listings of any new objects added * to the linked S3 bucket that do not currently exist in the FSx file system. *

    *
  • *
  • *

    * NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports file and directory listings of any * new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after you choose * this option. *

    *
  • *
  • *

    * NEW_CHANGED_DELETED - AutoImport is on. Amazon FSx automatically imports file and directory listings * of any new objects added to the S3 bucket, any existing objects that are changed in the S3 bucket, and any * objects that were deleted in the S3 bucket. *

    *
  • *
*

* This parameter is not supported for file systems with a data repository association. *

* * @param autoImportPolicy * (Optional) When you create your file system, your existing S3 objects appear as file and directory * listings. Use this property to choose how Amazon FSx keeps your file and directory listing up to date as * you add or modify objects in your linked S3 bucket. AutoImportPolicy can have the following * values:

*
    *
  • *

    * NONE - (Default) AutoImport is off. Amazon FSx only updates file and directory listings from * the linked S3 bucket when the file system is created. FSx does not update the file and directory listing * for any new or changed objects after choosing this option. *

    *
  • *
  • *

    * NEW - AutoImport is on. Amazon FSx automatically imports directory listings of any new * objects added to the linked S3 bucket that do not currently exist in the FSx file system. *

    *
  • *
  • *

    * NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports file and directory listings * of any new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after * you choose this option. *

    *
  • *
  • *

    * NEW_CHANGED_DELETED - AutoImport is on. Amazon FSx automatically imports file and directory * listings of any new objects added to the S3 bucket, any existing objects that are changed in the S3 * bucket, and any objects that were deleted in the S3 bucket. *

    *
  • *
*

* This parameter is not supported for file systems with a data repository association. * @return Returns a reference to this object so that method calls can be chained together. * @see AutoImportPolicyType */ public UpdateFileSystemLustreConfiguration withAutoImportPolicy(String autoImportPolicy) { setAutoImportPolicy(autoImportPolicy); return this; } /** *

* (Optional) When you create your file system, your existing S3 objects appear as file and directory listings. Use * this property to choose how Amazon FSx keeps your file and directory listing up to date as you add or modify * objects in your linked S3 bucket. AutoImportPolicy can have the following values: *

*
    *
  • *

    * NONE - (Default) AutoImport is off. Amazon FSx only updates file and directory listings from the * linked S3 bucket when the file system is created. FSx does not update the file and directory listing for any new * or changed objects after choosing this option. *

    *
  • *
  • *

    * NEW - AutoImport is on. Amazon FSx automatically imports directory listings of any new objects added * to the linked S3 bucket that do not currently exist in the FSx file system. *

    *
  • *
  • *

    * NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports file and directory listings of any * new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after you choose * this option. *

    *
  • *
  • *

    * NEW_CHANGED_DELETED - AutoImport is on. Amazon FSx automatically imports file and directory listings * of any new objects added to the S3 bucket, any existing objects that are changed in the S3 bucket, and any * objects that were deleted in the S3 bucket. *

    *
  • *
*

* This parameter is not supported for file systems with a data repository association. *

* * @param autoImportPolicy * (Optional) When you create your file system, your existing S3 objects appear as file and directory * listings. Use this property to choose how Amazon FSx keeps your file and directory listing up to date as * you add or modify objects in your linked S3 bucket. AutoImportPolicy can have the following * values:

*
    *
  • *

    * NONE - (Default) AutoImport is off. Amazon FSx only updates file and directory listings from * the linked S3 bucket when the file system is created. FSx does not update the file and directory listing * for any new or changed objects after choosing this option. *

    *
  • *
  • *

    * NEW - AutoImport is on. Amazon FSx automatically imports directory listings of any new * objects added to the linked S3 bucket that do not currently exist in the FSx file system. *

    *
  • *
  • *

    * NEW_CHANGED - AutoImport is on. Amazon FSx automatically imports file and directory listings * of any new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after * you choose this option. *

    *
  • *
  • *

    * NEW_CHANGED_DELETED - AutoImport is on. Amazon FSx automatically imports file and directory * listings of any new objects added to the S3 bucket, any existing objects that are changed in the S3 * bucket, and any objects that were deleted in the S3 bucket. *

    *
  • *
*

* This parameter is not supported for file systems with a data repository association. * @return Returns a reference to this object so that method calls can be chained together. * @see AutoImportPolicyType */ public UpdateFileSystemLustreConfiguration withAutoImportPolicy(AutoImportPolicyType autoImportPolicy) { this.autoImportPolicy = autoImportPolicy.toString(); return this; } /** *

* Sets the data compression configuration for the file system. DataCompressionType can have the * following values: *

*
    *
  • *

    * NONE - Data compression is turned off for the file system. *

    *
  • *
  • *

    * LZ4 - Data compression is turned on with the LZ4 algorithm. *

    *
  • *
*

* If you don't use DataCompressionType, the file system retains its current data compression * configuration. *

*

* For more information, see Lustre data compression. *

* * @param dataCompressionType * Sets the data compression configuration for the file system. DataCompressionType can have the * following values:

*
    *
  • *

    * NONE - Data compression is turned off for the file system. *

    *
  • *
  • *

    * LZ4 - Data compression is turned on with the LZ4 algorithm. *

    *
  • *
*

* If you don't use DataCompressionType, the file system retains its current data compression * configuration. *

*

* For more information, see Lustre data * compression. * @see DataCompressionType */ public void setDataCompressionType(String dataCompressionType) { this.dataCompressionType = dataCompressionType; } /** *

* Sets the data compression configuration for the file system. DataCompressionType can have the * following values: *

*
    *
  • *

    * NONE - Data compression is turned off for the file system. *

    *
  • *
  • *

    * LZ4 - Data compression is turned on with the LZ4 algorithm. *

    *
  • *
*

* If you don't use DataCompressionType, the file system retains its current data compression * configuration. *

*

* For more information, see Lustre data compression. *

* * @return Sets the data compression configuration for the file system. DataCompressionType can have * the following values:

*
    *
  • *

    * NONE - Data compression is turned off for the file system. *

    *
  • *
  • *

    * LZ4 - Data compression is turned on with the LZ4 algorithm. *

    *
  • *
*

* If you don't use DataCompressionType, the file system retains its current data compression * configuration. *

*

* For more information, see Lustre data * compression. * @see DataCompressionType */ public String getDataCompressionType() { return this.dataCompressionType; } /** *

* Sets the data compression configuration for the file system. DataCompressionType can have the * following values: *

*
    *
  • *

    * NONE - Data compression is turned off for the file system. *

    *
  • *
  • *

    * LZ4 - Data compression is turned on with the LZ4 algorithm. *

    *
  • *
*

* If you don't use DataCompressionType, the file system retains its current data compression * configuration. *

*

* For more information, see Lustre data compression. *

* * @param dataCompressionType * Sets the data compression configuration for the file system. DataCompressionType can have the * following values:

*
    *
  • *

    * NONE - Data compression is turned off for the file system. *

    *
  • *
  • *

    * LZ4 - Data compression is turned on with the LZ4 algorithm. *

    *
  • *
*

* If you don't use DataCompressionType, the file system retains its current data compression * configuration. *

*

* For more information, see Lustre data * compression. * @return Returns a reference to this object so that method calls can be chained together. * @see DataCompressionType */ public UpdateFileSystemLustreConfiguration withDataCompressionType(String dataCompressionType) { setDataCompressionType(dataCompressionType); return this; } /** *

* Sets the data compression configuration for the file system. DataCompressionType can have the * following values: *

*
    *
  • *

    * NONE - Data compression is turned off for the file system. *

    *
  • *
  • *

    * LZ4 - Data compression is turned on with the LZ4 algorithm. *

    *
  • *
*

* If you don't use DataCompressionType, the file system retains its current data compression * configuration. *

*

* For more information, see Lustre data compression. *

* * @param dataCompressionType * Sets the data compression configuration for the file system. DataCompressionType can have the * following values:

*
    *
  • *

    * NONE - Data compression is turned off for the file system. *

    *
  • *
  • *

    * LZ4 - Data compression is turned on with the LZ4 algorithm. *

    *
  • *
*

* If you don't use DataCompressionType, the file system retains its current data compression * configuration. *

*

* For more information, see Lustre data * compression. * @return Returns a reference to this object so that method calls can be chained together. * @see DataCompressionType */ public UpdateFileSystemLustreConfiguration withDataCompressionType(DataCompressionType dataCompressionType) { this.dataCompressionType = dataCompressionType.toString(); return this; } /** *

* The Lustre logging configuration used when updating an Amazon FSx for Lustre file system. When logging is * enabled, Lustre logs error and warning events for data repositories associated with your file system to Amazon * CloudWatch Logs. *

* * @param logConfiguration * The Lustre logging configuration used when updating an Amazon FSx for Lustre file system. When logging is * enabled, Lustre logs error and warning events for data repositories associated with your file system to * Amazon CloudWatch Logs. */ public void setLogConfiguration(LustreLogCreateConfiguration logConfiguration) { this.logConfiguration = logConfiguration; } /** *

* The Lustre logging configuration used when updating an Amazon FSx for Lustre file system. When logging is * enabled, Lustre logs error and warning events for data repositories associated with your file system to Amazon * CloudWatch Logs. *

* * @return The Lustre logging configuration used when updating an Amazon FSx for Lustre file system. When logging is * enabled, Lustre logs error and warning events for data repositories associated with your file system to * Amazon CloudWatch Logs. */ public LustreLogCreateConfiguration getLogConfiguration() { return this.logConfiguration; } /** *

* The Lustre logging configuration used when updating an Amazon FSx for Lustre file system. When logging is * enabled, Lustre logs error and warning events for data repositories associated with your file system to Amazon * CloudWatch Logs. *

* * @param logConfiguration * The Lustre logging configuration used when updating an Amazon FSx for Lustre file system. When logging is * enabled, Lustre logs error and warning events for data repositories associated with your file system to * Amazon CloudWatch Logs. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFileSystemLustreConfiguration withLogConfiguration(LustreLogCreateConfiguration logConfiguration) { setLogConfiguration(logConfiguration); return this; } /** *

* The Lustre root squash configuration used when updating an Amazon FSx for Lustre file system. When enabled, root * squash restricts root-level access from clients that try to access your file system as a root user. *

* * @param rootSquashConfiguration * The Lustre root squash configuration used when updating an Amazon FSx for Lustre file system. When * enabled, root squash restricts root-level access from clients that try to access your file system as a * root user. */ public void setRootSquashConfiguration(LustreRootSquashConfiguration rootSquashConfiguration) { this.rootSquashConfiguration = rootSquashConfiguration; } /** *

* The Lustre root squash configuration used when updating an Amazon FSx for Lustre file system. When enabled, root * squash restricts root-level access from clients that try to access your file system as a root user. *

* * @return The Lustre root squash configuration used when updating an Amazon FSx for Lustre file system. When * enabled, root squash restricts root-level access from clients that try to access your file system as a * root user. */ public LustreRootSquashConfiguration getRootSquashConfiguration() { return this.rootSquashConfiguration; } /** *

* The Lustre root squash configuration used when updating an Amazon FSx for Lustre file system. When enabled, root * squash restricts root-level access from clients that try to access your file system as a root user. *

* * @param rootSquashConfiguration * The Lustre root squash configuration used when updating an Amazon FSx for Lustre file system. When * enabled, root squash restricts root-level access from clients that try to access your file system as a * root user. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFileSystemLustreConfiguration withRootSquashConfiguration(LustreRootSquashConfiguration rootSquashConfiguration) { setRootSquashConfiguration(rootSquashConfiguration); return this; } /** *

* The throughput of an Amazon FSx for Lustre Persistent SSD-based file system, measured in megabytes per second per * tebibyte (MB/s/TiB). You can increase or decrease your file system's throughput. Valid values depend on the * deployment type of the file system, as follows: *

*
    *
  • *

    * For PERSISTENT_1 SSD-based deployment types, valid values are 50, 100, and 200 MB/s/TiB. *

    *
  • *
  • *

    * For PERSISTENT_2 SSD-based deployment types, valid values are 125, 250, 500, and 1000 MB/s/TiB. *

    *
  • *
*

* For more information, see Managing throughput * capacity. *

* * @param perUnitStorageThroughput * The throughput of an Amazon FSx for Lustre Persistent SSD-based file system, measured in megabytes per * second per tebibyte (MB/s/TiB). You can increase or decrease your file system's throughput. Valid values * depend on the deployment type of the file system, as follows:

*
    *
  • *

    * For PERSISTENT_1 SSD-based deployment types, valid values are 50, 100, and 200 MB/s/TiB. *

    *
  • *
  • *

    * For PERSISTENT_2 SSD-based deployment types, valid values are 125, 250, 500, and 1000 * MB/s/TiB. *

    *
  • *
*

* For more information, see Managing * throughput capacity. */ public void setPerUnitStorageThroughput(Integer perUnitStorageThroughput) { this.perUnitStorageThroughput = perUnitStorageThroughput; } /** *

* The throughput of an Amazon FSx for Lustre Persistent SSD-based file system, measured in megabytes per second per * tebibyte (MB/s/TiB). You can increase or decrease your file system's throughput. Valid values depend on the * deployment type of the file system, as follows: *

*
    *
  • *

    * For PERSISTENT_1 SSD-based deployment types, valid values are 50, 100, and 200 MB/s/TiB. *

    *
  • *
  • *

    * For PERSISTENT_2 SSD-based deployment types, valid values are 125, 250, 500, and 1000 MB/s/TiB. *

    *
  • *
*

* For more information, see Managing throughput * capacity. *

* * @return The throughput of an Amazon FSx for Lustre Persistent SSD-based file system, measured in megabytes per * second per tebibyte (MB/s/TiB). You can increase or decrease your file system's throughput. Valid values * depend on the deployment type of the file system, as follows:

*
    *
  • *

    * For PERSISTENT_1 SSD-based deployment types, valid values are 50, 100, and 200 MB/s/TiB. *

    *
  • *
  • *

    * For PERSISTENT_2 SSD-based deployment types, valid values are 125, 250, 500, and 1000 * MB/s/TiB. *

    *
  • *
*

* For more information, see Managing * throughput capacity. */ public Integer getPerUnitStorageThroughput() { return this.perUnitStorageThroughput; } /** *

* The throughput of an Amazon FSx for Lustre Persistent SSD-based file system, measured in megabytes per second per * tebibyte (MB/s/TiB). You can increase or decrease your file system's throughput. Valid values depend on the * deployment type of the file system, as follows: *

*
    *
  • *

    * For PERSISTENT_1 SSD-based deployment types, valid values are 50, 100, and 200 MB/s/TiB. *

    *
  • *
  • *

    * For PERSISTENT_2 SSD-based deployment types, valid values are 125, 250, 500, and 1000 MB/s/TiB. *

    *
  • *
*

* For more information, see Managing throughput * capacity. *

* * @param perUnitStorageThroughput * The throughput of an Amazon FSx for Lustre Persistent SSD-based file system, measured in megabytes per * second per tebibyte (MB/s/TiB). You can increase or decrease your file system's throughput. Valid values * depend on the deployment type of the file system, as follows:

*
    *
  • *

    * For PERSISTENT_1 SSD-based deployment types, valid values are 50, 100, and 200 MB/s/TiB. *

    *
  • *
  • *

    * For PERSISTENT_2 SSD-based deployment types, valid values are 125, 250, 500, and 1000 * MB/s/TiB. *

    *
  • *
*

* For more information, see Managing * throughput capacity. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFileSystemLustreConfiguration withPerUnitStorageThroughput(Integer perUnitStorageThroughput) { setPerUnitStorageThroughput(perUnitStorageThroughput); return this; } /** *

* The Lustre metadata performance configuration for an Amazon FSx for Lustre file system using a * PERSISTENT_2 deployment type. When this configuration is enabled, the file system supports * increasing metadata performance. *

* * @param metadataConfiguration * The Lustre metadata performance configuration for an Amazon FSx for Lustre file system using a * PERSISTENT_2 deployment type. When this configuration is enabled, the file system supports * increasing metadata performance. */ public void setMetadataConfiguration(UpdateFileSystemLustreMetadataConfiguration metadataConfiguration) { this.metadataConfiguration = metadataConfiguration; } /** *

* The Lustre metadata performance configuration for an Amazon FSx for Lustre file system using a * PERSISTENT_2 deployment type. When this configuration is enabled, the file system supports * increasing metadata performance. *

* * @return The Lustre metadata performance configuration for an Amazon FSx for Lustre file system using a * PERSISTENT_2 deployment type. When this configuration is enabled, the file system supports * increasing metadata performance. */ public UpdateFileSystemLustreMetadataConfiguration getMetadataConfiguration() { return this.metadataConfiguration; } /** *

* The Lustre metadata performance configuration for an Amazon FSx for Lustre file system using a * PERSISTENT_2 deployment type. When this configuration is enabled, the file system supports * increasing metadata performance. *

* * @param metadataConfiguration * The Lustre metadata performance configuration for an Amazon FSx for Lustre file system using a * PERSISTENT_2 deployment type. When this configuration is enabled, the file system supports * increasing metadata performance. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateFileSystemLustreConfiguration withMetadataConfiguration(UpdateFileSystemLustreMetadataConfiguration metadataConfiguration) { setMetadataConfiguration(metadataConfiguration); 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 (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 (getAutoImportPolicy() != null) sb.append("AutoImportPolicy: ").append(getAutoImportPolicy()).append(","); if (getDataCompressionType() != null) sb.append("DataCompressionType: ").append(getDataCompressionType()).append(","); if (getLogConfiguration() != null) sb.append("LogConfiguration: ").append(getLogConfiguration()).append(","); if (getRootSquashConfiguration() != null) sb.append("RootSquashConfiguration: ").append(getRootSquashConfiguration()).append(","); if (getPerUnitStorageThroughput() != null) sb.append("PerUnitStorageThroughput: ").append(getPerUnitStorageThroughput()).append(","); if (getMetadataConfiguration() != null) sb.append("MetadataConfiguration: ").append(getMetadataConfiguration()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateFileSystemLustreConfiguration == false) return false; UpdateFileSystemLustreConfiguration other = (UpdateFileSystemLustreConfiguration) obj; 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.getAutoImportPolicy() == null ^ this.getAutoImportPolicy() == null) return false; if (other.getAutoImportPolicy() != null && other.getAutoImportPolicy().equals(this.getAutoImportPolicy()) == false) return false; if (other.getDataCompressionType() == null ^ this.getDataCompressionType() == null) return false; if (other.getDataCompressionType() != null && other.getDataCompressionType().equals(this.getDataCompressionType()) == false) return false; if (other.getLogConfiguration() == null ^ this.getLogConfiguration() == null) return false; if (other.getLogConfiguration() != null && other.getLogConfiguration().equals(this.getLogConfiguration()) == false) return false; if (other.getRootSquashConfiguration() == null ^ this.getRootSquashConfiguration() == null) return false; if (other.getRootSquashConfiguration() != null && other.getRootSquashConfiguration().equals(this.getRootSquashConfiguration()) == false) return false; if (other.getPerUnitStorageThroughput() == null ^ this.getPerUnitStorageThroughput() == null) return false; if (other.getPerUnitStorageThroughput() != null && other.getPerUnitStorageThroughput().equals(this.getPerUnitStorageThroughput()) == false) return false; if (other.getMetadataConfiguration() == null ^ this.getMetadataConfiguration() == null) return false; if (other.getMetadataConfiguration() != null && other.getMetadataConfiguration().equals(this.getMetadataConfiguration()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; 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 + ((getAutoImportPolicy() == null) ? 0 : getAutoImportPolicy().hashCode()); hashCode = prime * hashCode + ((getDataCompressionType() == null) ? 0 : getDataCompressionType().hashCode()); hashCode = prime * hashCode + ((getLogConfiguration() == null) ? 0 : getLogConfiguration().hashCode()); hashCode = prime * hashCode + ((getRootSquashConfiguration() == null) ? 0 : getRootSquashConfiguration().hashCode()); hashCode = prime * hashCode + ((getPerUnitStorageThroughput() == null) ? 0 : getPerUnitStorageThroughput().hashCode()); hashCode = prime * hashCode + ((getMetadataConfiguration() == null) ? 0 : getMetadataConfiguration().hashCode()); return hashCode; } @Override public UpdateFileSystemLustreConfiguration clone() { try { return (UpdateFileSystemLustreConfiguration) 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.UpdateFileSystemLustreConfigurationMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy