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

com.amazonaws.services.datasync.model.NetAppONTAPSVM Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.12.772
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.datasync.model;

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

/**
 * 

* The information that DataSync Discovery collects about a storage virtual machine (SVM) in your on-premises storage * system. *

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

* The universally unique identifier (UUID) of the cluster associated with the SVM. *

*/ private String clusterUuid; /** *

* The UUID of the SVM. *

*/ private String resourceId; /** *

* The name of the SVM *

*/ private String svmName; /** *

* The number of CIFS shares in the SVM. *

*/ private Long cifsShareCount; /** *

* The data transfer protocols (such as NFS) configured for the SVM. *

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

* The storage space that's being used in the SVM. *

*/ private Long totalCapacityUsed; /** *

* The total storage space that's available in the SVM. *

*/ private Long totalCapacityProvisioned; /** *

* The storage space that's being used in the SVM without accounting for compression or deduplication. *

*/ private Long totalLogicalCapacityUsed; /** *

* The performance data that DataSync Discovery collects about the SVM. *

*/ private MaxP95Performance maxP95Performance; /** *

* The Amazon Web Services storage services that DataSync Discovery recommends for the SVM. For more information, * see * Recommendations provided by DataSync Discovery. *

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

* The number of NFS volumes in the SVM. *

*/ private Long nfsExportedVolumes; /** *

* Indicates whether DataSync Discovery recommendations for the SVM are ready to view, incomplete, or can't be * determined. *

*

* For more information, see Recommendation statuses. *

*/ private String recommendationStatus; /** *

* The amount of storage in the SVM that's being used for snapshots. *

*/ private Long totalSnapshotCapacityUsed; /** *

* The number of LUNs (logical unit numbers) in the SVM. *

*/ private Long lunCount; /** *

* The universally unique identifier (UUID) of the cluster associated with the SVM. *

* * @param clusterUuid * The universally unique identifier (UUID) of the cluster associated with the SVM. */ public void setClusterUuid(String clusterUuid) { this.clusterUuid = clusterUuid; } /** *

* The universally unique identifier (UUID) of the cluster associated with the SVM. *

* * @return The universally unique identifier (UUID) of the cluster associated with the SVM. */ public String getClusterUuid() { return this.clusterUuid; } /** *

* The universally unique identifier (UUID) of the cluster associated with the SVM. *

* * @param clusterUuid * The universally unique identifier (UUID) of the cluster associated with the SVM. * @return Returns a reference to this object so that method calls can be chained together. */ public NetAppONTAPSVM withClusterUuid(String clusterUuid) { setClusterUuid(clusterUuid); return this; } /** *

* The UUID of the SVM. *

* * @param resourceId * The UUID of the SVM. */ public void setResourceId(String resourceId) { this.resourceId = resourceId; } /** *

* The UUID of the SVM. *

* * @return The UUID of the SVM. */ public String getResourceId() { return this.resourceId; } /** *

* The UUID of the SVM. *

* * @param resourceId * The UUID of the SVM. * @return Returns a reference to this object so that method calls can be chained together. */ public NetAppONTAPSVM withResourceId(String resourceId) { setResourceId(resourceId); return this; } /** *

* The name of the SVM *

* * @param svmName * The name of the SVM */ public void setSvmName(String svmName) { this.svmName = svmName; } /** *

* The name of the SVM *

* * @return The name of the SVM */ public String getSvmName() { return this.svmName; } /** *

* The name of the SVM *

* * @param svmName * The name of the SVM * @return Returns a reference to this object so that method calls can be chained together. */ public NetAppONTAPSVM withSvmName(String svmName) { setSvmName(svmName); return this; } /** *

* The number of CIFS shares in the SVM. *

* * @param cifsShareCount * The number of CIFS shares in the SVM. */ public void setCifsShareCount(Long cifsShareCount) { this.cifsShareCount = cifsShareCount; } /** *

* The number of CIFS shares in the SVM. *

* * @return The number of CIFS shares in the SVM. */ public Long getCifsShareCount() { return this.cifsShareCount; } /** *

* The number of CIFS shares in the SVM. *

* * @param cifsShareCount * The number of CIFS shares in the SVM. * @return Returns a reference to this object so that method calls can be chained together. */ public NetAppONTAPSVM withCifsShareCount(Long cifsShareCount) { setCifsShareCount(cifsShareCount); return this; } /** *

* The data transfer protocols (such as NFS) configured for the SVM. *

* * @return The data transfer protocols (such as NFS) configured for the SVM. */ public java.util.List getEnabledProtocols() { return enabledProtocols; } /** *

* The data transfer protocols (such as NFS) configured for the SVM. *

* * @param enabledProtocols * The data transfer protocols (such as NFS) configured for the SVM. */ public void setEnabledProtocols(java.util.Collection enabledProtocols) { if (enabledProtocols == null) { this.enabledProtocols = null; return; } this.enabledProtocols = new java.util.ArrayList(enabledProtocols); } /** *

* The data transfer protocols (such as NFS) configured for the SVM. *

*

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

* * @param enabledProtocols * The data transfer protocols (such as NFS) configured for the SVM. * @return Returns a reference to this object so that method calls can be chained together. */ public NetAppONTAPSVM withEnabledProtocols(String... enabledProtocols) { if (this.enabledProtocols == null) { setEnabledProtocols(new java.util.ArrayList(enabledProtocols.length)); } for (String ele : enabledProtocols) { this.enabledProtocols.add(ele); } return this; } /** *

* The data transfer protocols (such as NFS) configured for the SVM. *

* * @param enabledProtocols * The data transfer protocols (such as NFS) configured for the SVM. * @return Returns a reference to this object so that method calls can be chained together. */ public NetAppONTAPSVM withEnabledProtocols(java.util.Collection enabledProtocols) { setEnabledProtocols(enabledProtocols); return this; } /** *

* The storage space that's being used in the SVM. *

* * @param totalCapacityUsed * The storage space that's being used in the SVM. */ public void setTotalCapacityUsed(Long totalCapacityUsed) { this.totalCapacityUsed = totalCapacityUsed; } /** *

* The storage space that's being used in the SVM. *

* * @return The storage space that's being used in the SVM. */ public Long getTotalCapacityUsed() { return this.totalCapacityUsed; } /** *

* The storage space that's being used in the SVM. *

* * @param totalCapacityUsed * The storage space that's being used in the SVM. * @return Returns a reference to this object so that method calls can be chained together. */ public NetAppONTAPSVM withTotalCapacityUsed(Long totalCapacityUsed) { setTotalCapacityUsed(totalCapacityUsed); return this; } /** *

* The total storage space that's available in the SVM. *

* * @param totalCapacityProvisioned * The total storage space that's available in the SVM. */ public void setTotalCapacityProvisioned(Long totalCapacityProvisioned) { this.totalCapacityProvisioned = totalCapacityProvisioned; } /** *

* The total storage space that's available in the SVM. *

* * @return The total storage space that's available in the SVM. */ public Long getTotalCapacityProvisioned() { return this.totalCapacityProvisioned; } /** *

* The total storage space that's available in the SVM. *

* * @param totalCapacityProvisioned * The total storage space that's available in the SVM. * @return Returns a reference to this object so that method calls can be chained together. */ public NetAppONTAPSVM withTotalCapacityProvisioned(Long totalCapacityProvisioned) { setTotalCapacityProvisioned(totalCapacityProvisioned); return this; } /** *

* The storage space that's being used in the SVM without accounting for compression or deduplication. *

* * @param totalLogicalCapacityUsed * The storage space that's being used in the SVM without accounting for compression or deduplication. */ public void setTotalLogicalCapacityUsed(Long totalLogicalCapacityUsed) { this.totalLogicalCapacityUsed = totalLogicalCapacityUsed; } /** *

* The storage space that's being used in the SVM without accounting for compression or deduplication. *

* * @return The storage space that's being used in the SVM without accounting for compression or deduplication. */ public Long getTotalLogicalCapacityUsed() { return this.totalLogicalCapacityUsed; } /** *

* The storage space that's being used in the SVM without accounting for compression or deduplication. *

* * @param totalLogicalCapacityUsed * The storage space that's being used in the SVM without accounting for compression or deduplication. * @return Returns a reference to this object so that method calls can be chained together. */ public NetAppONTAPSVM withTotalLogicalCapacityUsed(Long totalLogicalCapacityUsed) { setTotalLogicalCapacityUsed(totalLogicalCapacityUsed); return this; } /** *

* The performance data that DataSync Discovery collects about the SVM. *

* * @param maxP95Performance * The performance data that DataSync Discovery collects about the SVM. */ public void setMaxP95Performance(MaxP95Performance maxP95Performance) { this.maxP95Performance = maxP95Performance; } /** *

* The performance data that DataSync Discovery collects about the SVM. *

* * @return The performance data that DataSync Discovery collects about the SVM. */ public MaxP95Performance getMaxP95Performance() { return this.maxP95Performance; } /** *

* The performance data that DataSync Discovery collects about the SVM. *

* * @param maxP95Performance * The performance data that DataSync Discovery collects about the SVM. * @return Returns a reference to this object so that method calls can be chained together. */ public NetAppONTAPSVM withMaxP95Performance(MaxP95Performance maxP95Performance) { setMaxP95Performance(maxP95Performance); return this; } /** *

* The Amazon Web Services storage services that DataSync Discovery recommends for the SVM. For more information, * see * Recommendations provided by DataSync Discovery. *

* * @return The Amazon Web Services storage services that DataSync Discovery recommends for the SVM. For more * information, see Recommendations provided by DataSync Discovery. */ public java.util.List getRecommendations() { return recommendations; } /** *

* The Amazon Web Services storage services that DataSync Discovery recommends for the SVM. For more information, * see * Recommendations provided by DataSync Discovery. *

* * @param recommendations * The Amazon Web Services storage services that DataSync Discovery recommends for the SVM. For more * information, see Recommendations provided by DataSync Discovery. */ public void setRecommendations(java.util.Collection recommendations) { if (recommendations == null) { this.recommendations = null; return; } this.recommendations = new java.util.ArrayList(recommendations); } /** *

* The Amazon Web Services storage services that DataSync Discovery recommends for the SVM. For more information, * see * Recommendations provided by DataSync Discovery. *

*

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

* * @param recommendations * The Amazon Web Services storage services that DataSync Discovery recommends for the SVM. For more * information, see Recommendations provided by DataSync Discovery. * @return Returns a reference to this object so that method calls can be chained together. */ public NetAppONTAPSVM withRecommendations(Recommendation... recommendations) { if (this.recommendations == null) { setRecommendations(new java.util.ArrayList(recommendations.length)); } for (Recommendation ele : recommendations) { this.recommendations.add(ele); } return this; } /** *

* The Amazon Web Services storage services that DataSync Discovery recommends for the SVM. For more information, * see * Recommendations provided by DataSync Discovery. *

* * @param recommendations * The Amazon Web Services storage services that DataSync Discovery recommends for the SVM. For more * information, see Recommendations provided by DataSync Discovery. * @return Returns a reference to this object so that method calls can be chained together. */ public NetAppONTAPSVM withRecommendations(java.util.Collection recommendations) { setRecommendations(recommendations); return this; } /** *

* The number of NFS volumes in the SVM. *

* * @param nfsExportedVolumes * The number of NFS volumes in the SVM. */ public void setNfsExportedVolumes(Long nfsExportedVolumes) { this.nfsExportedVolumes = nfsExportedVolumes; } /** *

* The number of NFS volumes in the SVM. *

* * @return The number of NFS volumes in the SVM. */ public Long getNfsExportedVolumes() { return this.nfsExportedVolumes; } /** *

* The number of NFS volumes in the SVM. *

* * @param nfsExportedVolumes * The number of NFS volumes in the SVM. * @return Returns a reference to this object so that method calls can be chained together. */ public NetAppONTAPSVM withNfsExportedVolumes(Long nfsExportedVolumes) { setNfsExportedVolumes(nfsExportedVolumes); return this; } /** *

* Indicates whether DataSync Discovery recommendations for the SVM are ready to view, incomplete, or can't be * determined. *

*

* For more information, see Recommendation statuses. *

* * @param recommendationStatus * Indicates whether DataSync Discovery recommendations for the SVM are ready to view, incomplete, or can't * be determined.

*

* For more information, see Recommendation statuses. * @see RecommendationStatus */ public void setRecommendationStatus(String recommendationStatus) { this.recommendationStatus = recommendationStatus; } /** *

* Indicates whether DataSync Discovery recommendations for the SVM are ready to view, incomplete, or can't be * determined. *

*

* For more information, see Recommendation statuses. *

* * @return Indicates whether DataSync Discovery recommendations for the SVM are ready to view, incomplete, or can't * be determined.

*

* For more information, see Recommendation statuses. * @see RecommendationStatus */ public String getRecommendationStatus() { return this.recommendationStatus; } /** *

* Indicates whether DataSync Discovery recommendations for the SVM are ready to view, incomplete, or can't be * determined. *

*

* For more information, see Recommendation statuses. *

* * @param recommendationStatus * Indicates whether DataSync Discovery recommendations for the SVM are ready to view, incomplete, or can't * be determined.

*

* For more information, see Recommendation statuses. * @return Returns a reference to this object so that method calls can be chained together. * @see RecommendationStatus */ public NetAppONTAPSVM withRecommendationStatus(String recommendationStatus) { setRecommendationStatus(recommendationStatus); return this; } /** *

* Indicates whether DataSync Discovery recommendations for the SVM are ready to view, incomplete, or can't be * determined. *

*

* For more information, see Recommendation statuses. *

* * @param recommendationStatus * Indicates whether DataSync Discovery recommendations for the SVM are ready to view, incomplete, or can't * be determined.

*

* For more information, see Recommendation statuses. * @return Returns a reference to this object so that method calls can be chained together. * @see RecommendationStatus */ public NetAppONTAPSVM withRecommendationStatus(RecommendationStatus recommendationStatus) { this.recommendationStatus = recommendationStatus.toString(); return this; } /** *

* The amount of storage in the SVM that's being used for snapshots. *

* * @param totalSnapshotCapacityUsed * The amount of storage in the SVM that's being used for snapshots. */ public void setTotalSnapshotCapacityUsed(Long totalSnapshotCapacityUsed) { this.totalSnapshotCapacityUsed = totalSnapshotCapacityUsed; } /** *

* The amount of storage in the SVM that's being used for snapshots. *

* * @return The amount of storage in the SVM that's being used for snapshots. */ public Long getTotalSnapshotCapacityUsed() { return this.totalSnapshotCapacityUsed; } /** *

* The amount of storage in the SVM that's being used for snapshots. *

* * @param totalSnapshotCapacityUsed * The amount of storage in the SVM that's being used for snapshots. * @return Returns a reference to this object so that method calls can be chained together. */ public NetAppONTAPSVM withTotalSnapshotCapacityUsed(Long totalSnapshotCapacityUsed) { setTotalSnapshotCapacityUsed(totalSnapshotCapacityUsed); return this; } /** *

* The number of LUNs (logical unit numbers) in the SVM. *

* * @param lunCount * The number of LUNs (logical unit numbers) in the SVM. */ public void setLunCount(Long lunCount) { this.lunCount = lunCount; } /** *

* The number of LUNs (logical unit numbers) in the SVM. *

* * @return The number of LUNs (logical unit numbers) in the SVM. */ public Long getLunCount() { return this.lunCount; } /** *

* The number of LUNs (logical unit numbers) in the SVM. *

* * @param lunCount * The number of LUNs (logical unit numbers) in the SVM. * @return Returns a reference to this object so that method calls can be chained together. */ public NetAppONTAPSVM withLunCount(Long lunCount) { setLunCount(lunCount); 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 (getClusterUuid() != null) sb.append("ClusterUuid: ").append(getClusterUuid()).append(","); if (getResourceId() != null) sb.append("ResourceId: ").append(getResourceId()).append(","); if (getSvmName() != null) sb.append("SvmName: ").append(getSvmName()).append(","); if (getCifsShareCount() != null) sb.append("CifsShareCount: ").append(getCifsShareCount()).append(","); if (getEnabledProtocols() != null) sb.append("EnabledProtocols: ").append(getEnabledProtocols()).append(","); if (getTotalCapacityUsed() != null) sb.append("TotalCapacityUsed: ").append(getTotalCapacityUsed()).append(","); if (getTotalCapacityProvisioned() != null) sb.append("TotalCapacityProvisioned: ").append(getTotalCapacityProvisioned()).append(","); if (getTotalLogicalCapacityUsed() != null) sb.append("TotalLogicalCapacityUsed: ").append(getTotalLogicalCapacityUsed()).append(","); if (getMaxP95Performance() != null) sb.append("MaxP95Performance: ").append(getMaxP95Performance()).append(","); if (getRecommendations() != null) sb.append("Recommendations: ").append(getRecommendations()).append(","); if (getNfsExportedVolumes() != null) sb.append("NfsExportedVolumes: ").append(getNfsExportedVolumes()).append(","); if (getRecommendationStatus() != null) sb.append("RecommendationStatus: ").append(getRecommendationStatus()).append(","); if (getTotalSnapshotCapacityUsed() != null) sb.append("TotalSnapshotCapacityUsed: ").append(getTotalSnapshotCapacityUsed()).append(","); if (getLunCount() != null) sb.append("LunCount: ").append(getLunCount()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof NetAppONTAPSVM == false) return false; NetAppONTAPSVM other = (NetAppONTAPSVM) obj; if (other.getClusterUuid() == null ^ this.getClusterUuid() == null) return false; if (other.getClusterUuid() != null && other.getClusterUuid().equals(this.getClusterUuid()) == false) return false; if (other.getResourceId() == null ^ this.getResourceId() == null) return false; if (other.getResourceId() != null && other.getResourceId().equals(this.getResourceId()) == false) return false; if (other.getSvmName() == null ^ this.getSvmName() == null) return false; if (other.getSvmName() != null && other.getSvmName().equals(this.getSvmName()) == false) return false; if (other.getCifsShareCount() == null ^ this.getCifsShareCount() == null) return false; if (other.getCifsShareCount() != null && other.getCifsShareCount().equals(this.getCifsShareCount()) == false) return false; if (other.getEnabledProtocols() == null ^ this.getEnabledProtocols() == null) return false; if (other.getEnabledProtocols() != null && other.getEnabledProtocols().equals(this.getEnabledProtocols()) == false) return false; if (other.getTotalCapacityUsed() == null ^ this.getTotalCapacityUsed() == null) return false; if (other.getTotalCapacityUsed() != null && other.getTotalCapacityUsed().equals(this.getTotalCapacityUsed()) == false) return false; if (other.getTotalCapacityProvisioned() == null ^ this.getTotalCapacityProvisioned() == null) return false; if (other.getTotalCapacityProvisioned() != null && other.getTotalCapacityProvisioned().equals(this.getTotalCapacityProvisioned()) == false) return false; if (other.getTotalLogicalCapacityUsed() == null ^ this.getTotalLogicalCapacityUsed() == null) return false; if (other.getTotalLogicalCapacityUsed() != null && other.getTotalLogicalCapacityUsed().equals(this.getTotalLogicalCapacityUsed()) == false) return false; if (other.getMaxP95Performance() == null ^ this.getMaxP95Performance() == null) return false; if (other.getMaxP95Performance() != null && other.getMaxP95Performance().equals(this.getMaxP95Performance()) == false) return false; if (other.getRecommendations() == null ^ this.getRecommendations() == null) return false; if (other.getRecommendations() != null && other.getRecommendations().equals(this.getRecommendations()) == false) return false; if (other.getNfsExportedVolumes() == null ^ this.getNfsExportedVolumes() == null) return false; if (other.getNfsExportedVolumes() != null && other.getNfsExportedVolumes().equals(this.getNfsExportedVolumes()) == false) return false; if (other.getRecommendationStatus() == null ^ this.getRecommendationStatus() == null) return false; if (other.getRecommendationStatus() != null && other.getRecommendationStatus().equals(this.getRecommendationStatus()) == false) return false; if (other.getTotalSnapshotCapacityUsed() == null ^ this.getTotalSnapshotCapacityUsed() == null) return false; if (other.getTotalSnapshotCapacityUsed() != null && other.getTotalSnapshotCapacityUsed().equals(this.getTotalSnapshotCapacityUsed()) == false) return false; if (other.getLunCount() == null ^ this.getLunCount() == null) return false; if (other.getLunCount() != null && other.getLunCount().equals(this.getLunCount()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getClusterUuid() == null) ? 0 : getClusterUuid().hashCode()); hashCode = prime * hashCode + ((getResourceId() == null) ? 0 : getResourceId().hashCode()); hashCode = prime * hashCode + ((getSvmName() == null) ? 0 : getSvmName().hashCode()); hashCode = prime * hashCode + ((getCifsShareCount() == null) ? 0 : getCifsShareCount().hashCode()); hashCode = prime * hashCode + ((getEnabledProtocols() == null) ? 0 : getEnabledProtocols().hashCode()); hashCode = prime * hashCode + ((getTotalCapacityUsed() == null) ? 0 : getTotalCapacityUsed().hashCode()); hashCode = prime * hashCode + ((getTotalCapacityProvisioned() == null) ? 0 : getTotalCapacityProvisioned().hashCode()); hashCode = prime * hashCode + ((getTotalLogicalCapacityUsed() == null) ? 0 : getTotalLogicalCapacityUsed().hashCode()); hashCode = prime * hashCode + ((getMaxP95Performance() == null) ? 0 : getMaxP95Performance().hashCode()); hashCode = prime * hashCode + ((getRecommendations() == null) ? 0 : getRecommendations().hashCode()); hashCode = prime * hashCode + ((getNfsExportedVolumes() == null) ? 0 : getNfsExportedVolumes().hashCode()); hashCode = prime * hashCode + ((getRecommendationStatus() == null) ? 0 : getRecommendationStatus().hashCode()); hashCode = prime * hashCode + ((getTotalSnapshotCapacityUsed() == null) ? 0 : getTotalSnapshotCapacityUsed().hashCode()); hashCode = prime * hashCode + ((getLunCount() == null) ? 0 : getLunCount().hashCode()); return hashCode; } @Override public NetAppONTAPSVM clone() { try { return (NetAppONTAPSVM) 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.datasync.model.transform.NetAppONTAPSVMMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy