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

com.amazonaws.services.fsx.model.OpenZFSFileSystemConfiguration 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 for the Amazon FSx for OpenZFS file system. *

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

* A Boolean value indicating whether tags on the file system should be copied to backups. If it's set to * true, all tags on the file system are copied to all automatic backups and any user-initiated backups * where the user doesn't specify any tags. If this value is true and you specify one or more tags, * only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated * backup, no tags are copied from the file system, regardless of this value. *

*/ private Boolean copyTagsToBackups; /** *

* A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to * false. If it's set to true, all tags for the volume are copied to snapshots where the * user doesn't specify tags. If this value is true and you specify one or more tags, only the * specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are * copied from the volume, regardless of this value. *

*/ private Boolean copyTagsToVolumes; private String dailyAutomaticBackupStartTime; /** *

* Specifies the file-system deployment type. Amazon FSx for OpenZFS supports
 MULTI_AZ_1, * SINGLE_AZ_1, and SINGLE_AZ_2. *

*/ private String deploymentType; /** *

* The throughput of an Amazon FSx file system, measured in megabytes per second (MBps). *

*/ private Integer throughputCapacity; private String weeklyMaintenanceStartTime; private DiskIopsConfiguration diskIopsConfiguration; /** *

* The ID of the root volume of the OpenZFS file system. *

*/ private String rootVolumeId; /** *

* Required when DeploymentType is set to MULTI_AZ_1. This specifies the subnet in which * you want the preferred file server to be located. *

*/ private String preferredSubnetId; /** *

* (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created. * By default in the Amazon FSx API and Amazon FSx console, Amazon FSx selects an available /28 IP address range for * you from one of the VPC's CIDR ranges. You can have overlapping endpoint IP addresses for file systems deployed * in the same VPC/route tables. *

*/ private String endpointIpAddressRange; /** *

* (Multi-AZ only) The VPC route tables in which your file system's endpoints are created. *

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

* The IP address of the endpoint that is used to access data or to manage the file system. *

*/ private String endpointIpAddress; /** * @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 OpenZFSFileSystemConfiguration withAutomaticBackupRetentionDays(Integer automaticBackupRetentionDays) { setAutomaticBackupRetentionDays(automaticBackupRetentionDays); return this; } /** *

* A Boolean value indicating whether tags on the file system should be copied to backups. If it's set to * true, all tags on the file system are copied to all automatic backups and any user-initiated backups * where the user doesn't specify any tags. If this value is true and you specify one or more tags, * only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated * backup, no tags are copied from the file system, regardless of this value. *

* * @param copyTagsToBackups * A Boolean value indicating whether tags on the file system should be copied to backups. If it's set to * true, all tags on the file system are copied to all automatic backups and any user-initiated * backups where the user doesn't specify any tags. If this value is true and you specify one or * more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a * user-initiated backup, no tags are copied from the file system, regardless of this value. */ public void setCopyTagsToBackups(Boolean copyTagsToBackups) { this.copyTagsToBackups = copyTagsToBackups; } /** *

* A Boolean value indicating whether tags on the file system should be copied to backups. If it's set to * true, all tags on the file system are copied to all automatic backups and any user-initiated backups * where the user doesn't specify any tags. If this value is true and you specify one or more tags, * only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated * backup, no tags are copied from the file system, regardless of this value. *

* * @return A Boolean value indicating whether tags on the file system should be copied to backups. If it's set to * true, all tags on the file system are copied to all automatic backups and any user-initiated * backups where the user doesn't specify any tags. If this value is true and you specify one * or more tags, only the specified tags are copied to backups. If you specify one or more tags when * creating a user-initiated backup, no tags are copied from the file system, regardless of this value. */ public Boolean getCopyTagsToBackups() { return this.copyTagsToBackups; } /** *

* A Boolean value indicating whether tags on the file system should be copied to backups. If it's set to * true, all tags on the file system are copied to all automatic backups and any user-initiated backups * where the user doesn't specify any tags. If this value is true and you specify one or more tags, * only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated * backup, no tags are copied from the file system, regardless of this value. *

* * @param copyTagsToBackups * A Boolean value indicating whether tags on the file system should be copied to backups. If it's set to * true, all tags on the file system are copied to all automatic backups and any user-initiated * backups where the user doesn't specify any tags. If this value is true and you specify one or * more tags, only the specified tags are copied to backups. If you specify one or more tags when creating a * user-initiated backup, no tags are copied from the file system, regardless of this value. * @return Returns a reference to this object so that method calls can be chained together. */ public OpenZFSFileSystemConfiguration withCopyTagsToBackups(Boolean copyTagsToBackups) { setCopyTagsToBackups(copyTagsToBackups); return this; } /** *

* A Boolean value indicating whether tags on the file system should be copied to backups. If it's set to * true, all tags on the file system are copied to all automatic backups and any user-initiated backups * where the user doesn't specify any tags. If this value is true and you specify one or more tags, * only the specified tags are copied to backups. If you specify one or more tags when creating a user-initiated * backup, no tags are copied from the file system, regardless of this value. *

* * @return A Boolean value indicating whether tags on the file system should be copied to backups. If it's set to * true, all tags on the file system are copied to all automatic backups and any user-initiated * backups where the user doesn't specify any tags. If this value is true and you specify one * or more tags, only the specified tags are copied to backups. If you specify one or more tags when * creating a user-initiated backup, no tags are copied from the file system, regardless of this value. */ public Boolean isCopyTagsToBackups() { return this.copyTagsToBackups; } /** *

* A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to * false. If it's set to true, all tags for the volume are copied to snapshots where the * user doesn't specify tags. If this value is true and you specify one or more tags, only the * specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are * copied from the volume, regardless of this value. *

* * @param copyTagsToVolumes * A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults * to false. If it's set to true, all tags for the volume are copied to snapshots * where the user doesn't specify tags. If this value is true and you specify one or more tags, * only the specified tags are copied to snapshots. If you specify one or more tags when creating the * snapshot, no tags are copied from the volume, regardless of this value. */ public void setCopyTagsToVolumes(Boolean copyTagsToVolumes) { this.copyTagsToVolumes = copyTagsToVolumes; } /** *

* A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to * false. If it's set to true, all tags for the volume are copied to snapshots where the * user doesn't specify tags. If this value is true and you specify one or more tags, only the * specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are * copied from the volume, regardless of this value. *

* * @return A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults * to false. If it's set to true, all tags for the volume are copied to snapshots * where the user doesn't specify tags. If this value is true and you specify one or more tags, * only the specified tags are copied to snapshots. If you specify one or more tags when creating the * snapshot, no tags are copied from the volume, regardless of this value. */ public Boolean getCopyTagsToVolumes() { return this.copyTagsToVolumes; } /** *

* A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to * false. If it's set to true, all tags for the volume are copied to snapshots where the * user doesn't specify tags. If this value is true and you specify one or more tags, only the * specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are * copied from the volume, regardless of this value. *

* * @param copyTagsToVolumes * A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults * to false. If it's set to true, all tags for the volume are copied to snapshots * where the user doesn't specify tags. If this value is true and you specify one or more tags, * only the specified tags are copied to snapshots. If you specify one or more tags when creating the * snapshot, no tags are copied from the volume, regardless of this value. * @return Returns a reference to this object so that method calls can be chained together. */ public OpenZFSFileSystemConfiguration withCopyTagsToVolumes(Boolean copyTagsToVolumes) { setCopyTagsToVolumes(copyTagsToVolumes); return this; } /** *

* A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults to * false. If it's set to true, all tags for the volume are copied to snapshots where the * user doesn't specify tags. If this value is true and you specify one or more tags, only the * specified tags are copied to snapshots. If you specify one or more tags when creating the snapshot, no tags are * copied from the volume, regardless of this value. *

* * @return A Boolean value indicating whether tags for the volume should be copied to snapshots. This value defaults * to false. If it's set to true, all tags for the volume are copied to snapshots * where the user doesn't specify tags. If this value is true and you specify one or more tags, * only the specified tags are copied to snapshots. If you specify one or more tags when creating the * snapshot, no tags are copied from the volume, regardless of this value. */ public Boolean isCopyTagsToVolumes() { return this.copyTagsToVolumes; } /** * @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 OpenZFSFileSystemConfiguration withDailyAutomaticBackupStartTime(String dailyAutomaticBackupStartTime) { setDailyAutomaticBackupStartTime(dailyAutomaticBackupStartTime); return this; } /** *

* Specifies the file-system deployment type. Amazon FSx for OpenZFS supports
 MULTI_AZ_1, * SINGLE_AZ_1, and SINGLE_AZ_2. *

* * @param deploymentType * Specifies the file-system deployment type. Amazon FSx for OpenZFS supports
 MULTI_AZ_1 * , SINGLE_AZ_1, and SINGLE_AZ_2. * @see OpenZFSDeploymentType */ public void setDeploymentType(String deploymentType) { this.deploymentType = deploymentType; } /** *

* Specifies the file-system deployment type. Amazon FSx for OpenZFS supports
 MULTI_AZ_1, * SINGLE_AZ_1, and SINGLE_AZ_2. *

* * @return Specifies the file-system deployment type. Amazon FSx for OpenZFS supports
 * MULTI_AZ_1, SINGLE_AZ_1, and SINGLE_AZ_2. * @see OpenZFSDeploymentType */ public String getDeploymentType() { return this.deploymentType; } /** *

* Specifies the file-system deployment type. Amazon FSx for OpenZFS supports
 MULTI_AZ_1, * SINGLE_AZ_1, and SINGLE_AZ_2. *

* * @param deploymentType * Specifies the file-system deployment type. Amazon FSx for OpenZFS supports
 MULTI_AZ_1 * , SINGLE_AZ_1, and SINGLE_AZ_2. * @return Returns a reference to this object so that method calls can be chained together. * @see OpenZFSDeploymentType */ public OpenZFSFileSystemConfiguration withDeploymentType(String deploymentType) { setDeploymentType(deploymentType); return this; } /** *

* Specifies the file-system deployment type. Amazon FSx for OpenZFS supports
 MULTI_AZ_1, * SINGLE_AZ_1, and SINGLE_AZ_2. *

* * @param deploymentType * Specifies the file-system deployment type. Amazon FSx for OpenZFS supports
 MULTI_AZ_1 * , SINGLE_AZ_1, and SINGLE_AZ_2. * @return Returns a reference to this object so that method calls can be chained together. * @see OpenZFSDeploymentType */ public OpenZFSFileSystemConfiguration withDeploymentType(OpenZFSDeploymentType deploymentType) { this.deploymentType = deploymentType.toString(); return this; } /** *

* The throughput of an Amazon FSx file system, measured in megabytes per second (MBps). *

* * @param throughputCapacity * The throughput of an Amazon FSx file system, measured in megabytes per second (MBps). */ public void setThroughputCapacity(Integer throughputCapacity) { this.throughputCapacity = throughputCapacity; } /** *

* The throughput of an Amazon FSx file system, measured in megabytes per second (MBps). *

* * @return The throughput of an Amazon FSx file system, measured in megabytes per second (MBps). */ public Integer getThroughputCapacity() { return this.throughputCapacity; } /** *

* The throughput of an Amazon FSx file system, measured in megabytes per second (MBps). *

* * @param throughputCapacity * The throughput of an Amazon FSx file system, measured in megabytes per second (MBps). * @return Returns a reference to this object so that method calls can be chained together. */ public OpenZFSFileSystemConfiguration withThroughputCapacity(Integer throughputCapacity) { setThroughputCapacity(throughputCapacity); 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 OpenZFSFileSystemConfiguration withWeeklyMaintenanceStartTime(String weeklyMaintenanceStartTime) { setWeeklyMaintenanceStartTime(weeklyMaintenanceStartTime); return this; } /** * @param diskIopsConfiguration */ public void setDiskIopsConfiguration(DiskIopsConfiguration diskIopsConfiguration) { this.diskIopsConfiguration = diskIopsConfiguration; } /** * @return */ public DiskIopsConfiguration getDiskIopsConfiguration() { return this.diskIopsConfiguration; } /** * @param diskIopsConfiguration * @return Returns a reference to this object so that method calls can be chained together. */ public OpenZFSFileSystemConfiguration withDiskIopsConfiguration(DiskIopsConfiguration diskIopsConfiguration) { setDiskIopsConfiguration(diskIopsConfiguration); return this; } /** *

* The ID of the root volume of the OpenZFS file system. *

* * @param rootVolumeId * The ID of the root volume of the OpenZFS file system. */ public void setRootVolumeId(String rootVolumeId) { this.rootVolumeId = rootVolumeId; } /** *

* The ID of the root volume of the OpenZFS file system. *

* * @return The ID of the root volume of the OpenZFS file system. */ public String getRootVolumeId() { return this.rootVolumeId; } /** *

* The ID of the root volume of the OpenZFS file system. *

* * @param rootVolumeId * The ID of the root volume of the OpenZFS file system. * @return Returns a reference to this object so that method calls can be chained together. */ public OpenZFSFileSystemConfiguration withRootVolumeId(String rootVolumeId) { setRootVolumeId(rootVolumeId); return this; } /** *

* Required when DeploymentType is set to MULTI_AZ_1. This specifies the subnet in which * you want the preferred file server to be located. *

* * @param preferredSubnetId * Required when DeploymentType is set to MULTI_AZ_1. This specifies the subnet in * which you want the preferred file server to be located. */ public void setPreferredSubnetId(String preferredSubnetId) { this.preferredSubnetId = preferredSubnetId; } /** *

* Required when DeploymentType is set to MULTI_AZ_1. This specifies the subnet in which * you want the preferred file server to be located. *

* * @return Required when DeploymentType is set to MULTI_AZ_1. This specifies the subnet in * which you want the preferred file server to be located. */ public String getPreferredSubnetId() { return this.preferredSubnetId; } /** *

* Required when DeploymentType is set to MULTI_AZ_1. This specifies the subnet in which * you want the preferred file server to be located. *

* * @param preferredSubnetId * Required when DeploymentType is set to MULTI_AZ_1. This specifies the subnet in * which you want the preferred file server to be located. * @return Returns a reference to this object so that method calls can be chained together. */ public OpenZFSFileSystemConfiguration withPreferredSubnetId(String preferredSubnetId) { setPreferredSubnetId(preferredSubnetId); return this; } /** *

* (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created. * By default in the Amazon FSx API and Amazon FSx console, Amazon FSx selects an available /28 IP address range for * you from one of the VPC's CIDR ranges. You can have overlapping endpoint IP addresses for file systems deployed * in the same VPC/route tables. *

* * @param endpointIpAddressRange * (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be * created. By default in the Amazon FSx API and Amazon FSx console, Amazon FSx selects an available /28 IP * address range for you from one of the VPC's CIDR ranges. You can have overlapping endpoint IP addresses * for file systems deployed in the same VPC/route tables. */ public void setEndpointIpAddressRange(String endpointIpAddressRange) { this.endpointIpAddressRange = endpointIpAddressRange; } /** *

* (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created. * By default in the Amazon FSx API and Amazon FSx console, Amazon FSx selects an available /28 IP address range for * you from one of the VPC's CIDR ranges. You can have overlapping endpoint IP addresses for file systems deployed * in the same VPC/route tables. *

* * @return (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be * created. By default in the Amazon FSx API and Amazon FSx console, Amazon FSx selects an available /28 IP * address range for you from one of the VPC's CIDR ranges. You can have overlapping endpoint IP addresses * for file systems deployed in the same VPC/route tables. */ public String getEndpointIpAddressRange() { return this.endpointIpAddressRange; } /** *

* (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created. * By default in the Amazon FSx API and Amazon FSx console, Amazon FSx selects an available /28 IP address range for * you from one of the VPC's CIDR ranges. You can have overlapping endpoint IP addresses for file systems deployed * in the same VPC/route tables. *

* * @param endpointIpAddressRange * (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be * created. By default in the Amazon FSx API and Amazon FSx console, Amazon FSx selects an available /28 IP * address range for you from one of the VPC's CIDR ranges. You can have overlapping endpoint IP addresses * for file systems deployed in the same VPC/route tables. * @return Returns a reference to this object so that method calls can be chained together. */ public OpenZFSFileSystemConfiguration withEndpointIpAddressRange(String endpointIpAddressRange) { setEndpointIpAddressRange(endpointIpAddressRange); return this; } /** *

* (Multi-AZ only) The VPC route tables in which your file system's endpoints are created. *

* * @return (Multi-AZ only) The VPC route tables in which your file system's endpoints are created. */ public java.util.List getRouteTableIds() { return routeTableIds; } /** *

* (Multi-AZ only) The VPC route tables in which your file system's endpoints are created. *

* * @param routeTableIds * (Multi-AZ only) The VPC route tables in which your file system's endpoints are created. */ public void setRouteTableIds(java.util.Collection routeTableIds) { if (routeTableIds == null) { this.routeTableIds = null; return; } this.routeTableIds = new java.util.ArrayList(routeTableIds); } /** *

* (Multi-AZ only) The VPC route tables in which your file system's endpoints are created. *

*

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

* * @param routeTableIds * (Multi-AZ only) The VPC route tables in which your file system's endpoints are created. * @return Returns a reference to this object so that method calls can be chained together. */ public OpenZFSFileSystemConfiguration withRouteTableIds(String... routeTableIds) { if (this.routeTableIds == null) { setRouteTableIds(new java.util.ArrayList(routeTableIds.length)); } for (String ele : routeTableIds) { this.routeTableIds.add(ele); } return this; } /** *

* (Multi-AZ only) The VPC route tables in which your file system's endpoints are created. *

* * @param routeTableIds * (Multi-AZ only) The VPC route tables in which your file system's endpoints are created. * @return Returns a reference to this object so that method calls can be chained together. */ public OpenZFSFileSystemConfiguration withRouteTableIds(java.util.Collection routeTableIds) { setRouteTableIds(routeTableIds); return this; } /** *

* The IP address of the endpoint that is used to access data or to manage the file system. *

* * @param endpointIpAddress * The IP address of the endpoint that is used to access data or to manage the file system. */ public void setEndpointIpAddress(String endpointIpAddress) { this.endpointIpAddress = endpointIpAddress; } /** *

* The IP address of the endpoint that is used to access data or to manage the file system. *

* * @return The IP address of the endpoint that is used to access data or to manage the file system. */ public String getEndpointIpAddress() { return this.endpointIpAddress; } /** *

* The IP address of the endpoint that is used to access data or to manage the file system. *

* * @param endpointIpAddress * The IP address of the endpoint that is used to access data or to manage the file system. * @return Returns a reference to this object so that method calls can be chained together. */ public OpenZFSFileSystemConfiguration withEndpointIpAddress(String endpointIpAddress) { setEndpointIpAddress(endpointIpAddress); 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 (getCopyTagsToBackups() != null) sb.append("CopyTagsToBackups: ").append(getCopyTagsToBackups()).append(","); if (getCopyTagsToVolumes() != null) sb.append("CopyTagsToVolumes: ").append(getCopyTagsToVolumes()).append(","); if (getDailyAutomaticBackupStartTime() != null) sb.append("DailyAutomaticBackupStartTime: ").append(getDailyAutomaticBackupStartTime()).append(","); if (getDeploymentType() != null) sb.append("DeploymentType: ").append(getDeploymentType()).append(","); if (getThroughputCapacity() != null) sb.append("ThroughputCapacity: ").append(getThroughputCapacity()).append(","); if (getWeeklyMaintenanceStartTime() != null) sb.append("WeeklyMaintenanceStartTime: ").append(getWeeklyMaintenanceStartTime()).append(","); if (getDiskIopsConfiguration() != null) sb.append("DiskIopsConfiguration: ").append(getDiskIopsConfiguration()).append(","); if (getRootVolumeId() != null) sb.append("RootVolumeId: ").append(getRootVolumeId()).append(","); if (getPreferredSubnetId() != null) sb.append("PreferredSubnetId: ").append(getPreferredSubnetId()).append(","); if (getEndpointIpAddressRange() != null) sb.append("EndpointIpAddressRange: ").append(getEndpointIpAddressRange()).append(","); if (getRouteTableIds() != null) sb.append("RouteTableIds: ").append(getRouteTableIds()).append(","); if (getEndpointIpAddress() != null) sb.append("EndpointIpAddress: ").append(getEndpointIpAddress()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof OpenZFSFileSystemConfiguration == false) return false; OpenZFSFileSystemConfiguration other = (OpenZFSFileSystemConfiguration) obj; if (other.getAutomaticBackupRetentionDays() == null ^ this.getAutomaticBackupRetentionDays() == null) return false; if (other.getAutomaticBackupRetentionDays() != null && other.getAutomaticBackupRetentionDays().equals(this.getAutomaticBackupRetentionDays()) == false) return false; if (other.getCopyTagsToBackups() == null ^ this.getCopyTagsToBackups() == null) return false; if (other.getCopyTagsToBackups() != null && other.getCopyTagsToBackups().equals(this.getCopyTagsToBackups()) == false) return false; if (other.getCopyTagsToVolumes() == null ^ this.getCopyTagsToVolumes() == null) return false; if (other.getCopyTagsToVolumes() != null && other.getCopyTagsToVolumes().equals(this.getCopyTagsToVolumes()) == 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.getDeploymentType() == null ^ this.getDeploymentType() == null) return false; if (other.getDeploymentType() != null && other.getDeploymentType().equals(this.getDeploymentType()) == false) return false; if (other.getThroughputCapacity() == null ^ this.getThroughputCapacity() == null) return false; if (other.getThroughputCapacity() != null && other.getThroughputCapacity().equals(this.getThroughputCapacity()) == false) return false; if (other.getWeeklyMaintenanceStartTime() == null ^ this.getWeeklyMaintenanceStartTime() == null) return false; if (other.getWeeklyMaintenanceStartTime() != null && other.getWeeklyMaintenanceStartTime().equals(this.getWeeklyMaintenanceStartTime()) == false) return false; if (other.getDiskIopsConfiguration() == null ^ this.getDiskIopsConfiguration() == null) return false; if (other.getDiskIopsConfiguration() != null && other.getDiskIopsConfiguration().equals(this.getDiskIopsConfiguration()) == false) return false; if (other.getRootVolumeId() == null ^ this.getRootVolumeId() == null) return false; if (other.getRootVolumeId() != null && other.getRootVolumeId().equals(this.getRootVolumeId()) == false) return false; if (other.getPreferredSubnetId() == null ^ this.getPreferredSubnetId() == null) return false; if (other.getPreferredSubnetId() != null && other.getPreferredSubnetId().equals(this.getPreferredSubnetId()) == false) return false; if (other.getEndpointIpAddressRange() == null ^ this.getEndpointIpAddressRange() == null) return false; if (other.getEndpointIpAddressRange() != null && other.getEndpointIpAddressRange().equals(this.getEndpointIpAddressRange()) == false) return false; if (other.getRouteTableIds() == null ^ this.getRouteTableIds() == null) return false; if (other.getRouteTableIds() != null && other.getRouteTableIds().equals(this.getRouteTableIds()) == false) return false; if (other.getEndpointIpAddress() == null ^ this.getEndpointIpAddress() == null) return false; if (other.getEndpointIpAddress() != null && other.getEndpointIpAddress().equals(this.getEndpointIpAddress()) == 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 + ((getCopyTagsToBackups() == null) ? 0 : getCopyTagsToBackups().hashCode()); hashCode = prime * hashCode + ((getCopyTagsToVolumes() == null) ? 0 : getCopyTagsToVolumes().hashCode()); hashCode = prime * hashCode + ((getDailyAutomaticBackupStartTime() == null) ? 0 : getDailyAutomaticBackupStartTime().hashCode()); hashCode = prime * hashCode + ((getDeploymentType() == null) ? 0 : getDeploymentType().hashCode()); hashCode = prime * hashCode + ((getThroughputCapacity() == null) ? 0 : getThroughputCapacity().hashCode()); hashCode = prime * hashCode + ((getWeeklyMaintenanceStartTime() == null) ? 0 : getWeeklyMaintenanceStartTime().hashCode()); hashCode = prime * hashCode + ((getDiskIopsConfiguration() == null) ? 0 : getDiskIopsConfiguration().hashCode()); hashCode = prime * hashCode + ((getRootVolumeId() == null) ? 0 : getRootVolumeId().hashCode()); hashCode = prime * hashCode + ((getPreferredSubnetId() == null) ? 0 : getPreferredSubnetId().hashCode()); hashCode = prime * hashCode + ((getEndpointIpAddressRange() == null) ? 0 : getEndpointIpAddressRange().hashCode()); hashCode = prime * hashCode + ((getRouteTableIds() == null) ? 0 : getRouteTableIds().hashCode()); hashCode = prime * hashCode + ((getEndpointIpAddress() == null) ? 0 : getEndpointIpAddress().hashCode()); return hashCode; } @Override public OpenZFSFileSystemConfiguration clone() { try { return (OpenZFSFileSystemConfiguration) 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.OpenZFSFileSystemConfigurationMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy