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

com.amazonaws.services.datasync.model.MaxP95Performance 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.778
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 performance data that DataSync Discovery collects about an on-premises storage system resource. *

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

* Peak IOPS related to read operations. *

*/ private Double iopsRead; /** *

* Peak IOPS related to write operations. *

*/ private Double iopsWrite; /** *

* Peak IOPS unrelated to read and write operations. *

*/ private Double iopsOther; /** *

* Peak total IOPS on your on-premises storage system resource. *

*/ private Double iopsTotal; /** *

* Peak throughput related to read operations. *

*/ private Double throughputRead; /** *

* Peak throughput related to write operations. *

*/ private Double throughputWrite; /** *

* Peak throughput unrelated to read and write operations. *

*/ private Double throughputOther; /** *

* Peak total throughput on your on-premises storage system resource. *

*/ private Double throughputTotal; /** *

* Peak latency for read operations. *

*/ private Double latencyRead; /** *

* Peak latency for write operations. *

*/ private Double latencyWrite; /** *

* Peak latency for operations unrelated to read and write operations. *

*/ private Double latencyOther; /** *

* Peak IOPS related to read operations. *

* * @param iopsRead * Peak IOPS related to read operations. */ public void setIopsRead(Double iopsRead) { this.iopsRead = iopsRead; } /** *

* Peak IOPS related to read operations. *

* * @return Peak IOPS related to read operations. */ public Double getIopsRead() { return this.iopsRead; } /** *

* Peak IOPS related to read operations. *

* * @param iopsRead * Peak IOPS related to read operations. * @return Returns a reference to this object so that method calls can be chained together. */ public MaxP95Performance withIopsRead(Double iopsRead) { setIopsRead(iopsRead); return this; } /** *

* Peak IOPS related to write operations. *

* * @param iopsWrite * Peak IOPS related to write operations. */ public void setIopsWrite(Double iopsWrite) { this.iopsWrite = iopsWrite; } /** *

* Peak IOPS related to write operations. *

* * @return Peak IOPS related to write operations. */ public Double getIopsWrite() { return this.iopsWrite; } /** *

* Peak IOPS related to write operations. *

* * @param iopsWrite * Peak IOPS related to write operations. * @return Returns a reference to this object so that method calls can be chained together. */ public MaxP95Performance withIopsWrite(Double iopsWrite) { setIopsWrite(iopsWrite); return this; } /** *

* Peak IOPS unrelated to read and write operations. *

* * @param iopsOther * Peak IOPS unrelated to read and write operations. */ public void setIopsOther(Double iopsOther) { this.iopsOther = iopsOther; } /** *

* Peak IOPS unrelated to read and write operations. *

* * @return Peak IOPS unrelated to read and write operations. */ public Double getIopsOther() { return this.iopsOther; } /** *

* Peak IOPS unrelated to read and write operations. *

* * @param iopsOther * Peak IOPS unrelated to read and write operations. * @return Returns a reference to this object so that method calls can be chained together. */ public MaxP95Performance withIopsOther(Double iopsOther) { setIopsOther(iopsOther); return this; } /** *

* Peak total IOPS on your on-premises storage system resource. *

* * @param iopsTotal * Peak total IOPS on your on-premises storage system resource. */ public void setIopsTotal(Double iopsTotal) { this.iopsTotal = iopsTotal; } /** *

* Peak total IOPS on your on-premises storage system resource. *

* * @return Peak total IOPS on your on-premises storage system resource. */ public Double getIopsTotal() { return this.iopsTotal; } /** *

* Peak total IOPS on your on-premises storage system resource. *

* * @param iopsTotal * Peak total IOPS on your on-premises storage system resource. * @return Returns a reference to this object so that method calls can be chained together. */ public MaxP95Performance withIopsTotal(Double iopsTotal) { setIopsTotal(iopsTotal); return this; } /** *

* Peak throughput related to read operations. *

* * @param throughputRead * Peak throughput related to read operations. */ public void setThroughputRead(Double throughputRead) { this.throughputRead = throughputRead; } /** *

* Peak throughput related to read operations. *

* * @return Peak throughput related to read operations. */ public Double getThroughputRead() { return this.throughputRead; } /** *

* Peak throughput related to read operations. *

* * @param throughputRead * Peak throughput related to read operations. * @return Returns a reference to this object so that method calls can be chained together. */ public MaxP95Performance withThroughputRead(Double throughputRead) { setThroughputRead(throughputRead); return this; } /** *

* Peak throughput related to write operations. *

* * @param throughputWrite * Peak throughput related to write operations. */ public void setThroughputWrite(Double throughputWrite) { this.throughputWrite = throughputWrite; } /** *

* Peak throughput related to write operations. *

* * @return Peak throughput related to write operations. */ public Double getThroughputWrite() { return this.throughputWrite; } /** *

* Peak throughput related to write operations. *

* * @param throughputWrite * Peak throughput related to write operations. * @return Returns a reference to this object so that method calls can be chained together. */ public MaxP95Performance withThroughputWrite(Double throughputWrite) { setThroughputWrite(throughputWrite); return this; } /** *

* Peak throughput unrelated to read and write operations. *

* * @param throughputOther * Peak throughput unrelated to read and write operations. */ public void setThroughputOther(Double throughputOther) { this.throughputOther = throughputOther; } /** *

* Peak throughput unrelated to read and write operations. *

* * @return Peak throughput unrelated to read and write operations. */ public Double getThroughputOther() { return this.throughputOther; } /** *

* Peak throughput unrelated to read and write operations. *

* * @param throughputOther * Peak throughput unrelated to read and write operations. * @return Returns a reference to this object so that method calls can be chained together. */ public MaxP95Performance withThroughputOther(Double throughputOther) { setThroughputOther(throughputOther); return this; } /** *

* Peak total throughput on your on-premises storage system resource. *

* * @param throughputTotal * Peak total throughput on your on-premises storage system resource. */ public void setThroughputTotal(Double throughputTotal) { this.throughputTotal = throughputTotal; } /** *

* Peak total throughput on your on-premises storage system resource. *

* * @return Peak total throughput on your on-premises storage system resource. */ public Double getThroughputTotal() { return this.throughputTotal; } /** *

* Peak total throughput on your on-premises storage system resource. *

* * @param throughputTotal * Peak total throughput on your on-premises storage system resource. * @return Returns a reference to this object so that method calls can be chained together. */ public MaxP95Performance withThroughputTotal(Double throughputTotal) { setThroughputTotal(throughputTotal); return this; } /** *

* Peak latency for read operations. *

* * @param latencyRead * Peak latency for read operations. */ public void setLatencyRead(Double latencyRead) { this.latencyRead = latencyRead; } /** *

* Peak latency for read operations. *

* * @return Peak latency for read operations. */ public Double getLatencyRead() { return this.latencyRead; } /** *

* Peak latency for read operations. *

* * @param latencyRead * Peak latency for read operations. * @return Returns a reference to this object so that method calls can be chained together. */ public MaxP95Performance withLatencyRead(Double latencyRead) { setLatencyRead(latencyRead); return this; } /** *

* Peak latency for write operations. *

* * @param latencyWrite * Peak latency for write operations. */ public void setLatencyWrite(Double latencyWrite) { this.latencyWrite = latencyWrite; } /** *

* Peak latency for write operations. *

* * @return Peak latency for write operations. */ public Double getLatencyWrite() { return this.latencyWrite; } /** *

* Peak latency for write operations. *

* * @param latencyWrite * Peak latency for write operations. * @return Returns a reference to this object so that method calls can be chained together. */ public MaxP95Performance withLatencyWrite(Double latencyWrite) { setLatencyWrite(latencyWrite); return this; } /** *

* Peak latency for operations unrelated to read and write operations. *

* * @param latencyOther * Peak latency for operations unrelated to read and write operations. */ public void setLatencyOther(Double latencyOther) { this.latencyOther = latencyOther; } /** *

* Peak latency for operations unrelated to read and write operations. *

* * @return Peak latency for operations unrelated to read and write operations. */ public Double getLatencyOther() { return this.latencyOther; } /** *

* Peak latency for operations unrelated to read and write operations. *

* * @param latencyOther * Peak latency for operations unrelated to read and write operations. * @return Returns a reference to this object so that method calls can be chained together. */ public MaxP95Performance withLatencyOther(Double latencyOther) { setLatencyOther(latencyOther); 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 (getIopsRead() != null) sb.append("IopsRead: ").append(getIopsRead()).append(","); if (getIopsWrite() != null) sb.append("IopsWrite: ").append(getIopsWrite()).append(","); if (getIopsOther() != null) sb.append("IopsOther: ").append(getIopsOther()).append(","); if (getIopsTotal() != null) sb.append("IopsTotal: ").append(getIopsTotal()).append(","); if (getThroughputRead() != null) sb.append("ThroughputRead: ").append(getThroughputRead()).append(","); if (getThroughputWrite() != null) sb.append("ThroughputWrite: ").append(getThroughputWrite()).append(","); if (getThroughputOther() != null) sb.append("ThroughputOther: ").append(getThroughputOther()).append(","); if (getThroughputTotal() != null) sb.append("ThroughputTotal: ").append(getThroughputTotal()).append(","); if (getLatencyRead() != null) sb.append("LatencyRead: ").append(getLatencyRead()).append(","); if (getLatencyWrite() != null) sb.append("LatencyWrite: ").append(getLatencyWrite()).append(","); if (getLatencyOther() != null) sb.append("LatencyOther: ").append(getLatencyOther()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof MaxP95Performance == false) return false; MaxP95Performance other = (MaxP95Performance) obj; if (other.getIopsRead() == null ^ this.getIopsRead() == null) return false; if (other.getIopsRead() != null && other.getIopsRead().equals(this.getIopsRead()) == false) return false; if (other.getIopsWrite() == null ^ this.getIopsWrite() == null) return false; if (other.getIopsWrite() != null && other.getIopsWrite().equals(this.getIopsWrite()) == false) return false; if (other.getIopsOther() == null ^ this.getIopsOther() == null) return false; if (other.getIopsOther() != null && other.getIopsOther().equals(this.getIopsOther()) == false) return false; if (other.getIopsTotal() == null ^ this.getIopsTotal() == null) return false; if (other.getIopsTotal() != null && other.getIopsTotal().equals(this.getIopsTotal()) == false) return false; if (other.getThroughputRead() == null ^ this.getThroughputRead() == null) return false; if (other.getThroughputRead() != null && other.getThroughputRead().equals(this.getThroughputRead()) == false) return false; if (other.getThroughputWrite() == null ^ this.getThroughputWrite() == null) return false; if (other.getThroughputWrite() != null && other.getThroughputWrite().equals(this.getThroughputWrite()) == false) return false; if (other.getThroughputOther() == null ^ this.getThroughputOther() == null) return false; if (other.getThroughputOther() != null && other.getThroughputOther().equals(this.getThroughputOther()) == false) return false; if (other.getThroughputTotal() == null ^ this.getThroughputTotal() == null) return false; if (other.getThroughputTotal() != null && other.getThroughputTotal().equals(this.getThroughputTotal()) == false) return false; if (other.getLatencyRead() == null ^ this.getLatencyRead() == null) return false; if (other.getLatencyRead() != null && other.getLatencyRead().equals(this.getLatencyRead()) == false) return false; if (other.getLatencyWrite() == null ^ this.getLatencyWrite() == null) return false; if (other.getLatencyWrite() != null && other.getLatencyWrite().equals(this.getLatencyWrite()) == false) return false; if (other.getLatencyOther() == null ^ this.getLatencyOther() == null) return false; if (other.getLatencyOther() != null && other.getLatencyOther().equals(this.getLatencyOther()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getIopsRead() == null) ? 0 : getIopsRead().hashCode()); hashCode = prime * hashCode + ((getIopsWrite() == null) ? 0 : getIopsWrite().hashCode()); hashCode = prime * hashCode + ((getIopsOther() == null) ? 0 : getIopsOther().hashCode()); hashCode = prime * hashCode + ((getIopsTotal() == null) ? 0 : getIopsTotal().hashCode()); hashCode = prime * hashCode + ((getThroughputRead() == null) ? 0 : getThroughputRead().hashCode()); hashCode = prime * hashCode + ((getThroughputWrite() == null) ? 0 : getThroughputWrite().hashCode()); hashCode = prime * hashCode + ((getThroughputOther() == null) ? 0 : getThroughputOther().hashCode()); hashCode = prime * hashCode + ((getThroughputTotal() == null) ? 0 : getThroughputTotal().hashCode()); hashCode = prime * hashCode + ((getLatencyRead() == null) ? 0 : getLatencyRead().hashCode()); hashCode = prime * hashCode + ((getLatencyWrite() == null) ? 0 : getLatencyWrite().hashCode()); hashCode = prime * hashCode + ((getLatencyOther() == null) ? 0 : getLatencyOther().hashCode()); return hashCode; } @Override public MaxP95Performance clone() { try { return (MaxP95Performance) 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.MaxP95PerformanceMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy