public class PercentPair
extends java.lang.Object
implements java.io.Serializable
Describes the percentile and percentile value.
Constructor and Description |
---|
PercentPair() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Double |
getPercent()
The percentile.
|
java.lang.Double |
getValue()
The value of the percentile.
|
int |
hashCode() |
void |
setPercent(java.lang.Double percent)
The percentile.
|
void |
setValue(java.lang.Double value)
The value of the percentile.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PercentPair |
withPercent(java.lang.Double percent)
The percentile.
|
PercentPair |
withValue(java.lang.Double value)
The value of the percentile.
|
public java.lang.Double getPercent()
The percentile.
Constraints:
Range: 0 - 100
The percentile.
public void setPercent(java.lang.Double percent)
The percentile.
Constraints:
Range: 0 - 100
percent
- The percentile.
public PercentPair withPercent(java.lang.Double percent)
The percentile.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 100
percent
- The percentile.
public java.lang.Double getValue()
The value of the percentile.
The value of the percentile.
public void setValue(java.lang.Double value)
The value of the percentile.
value
- The value of the percentile.
public PercentPair withValue(java.lang.Double value)
The value of the percentile.
Returns a reference to this object so that method calls can be chained together.
value
- The value of the percentile.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.