@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrialComponentMetricSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of the metrics of a trial component.
Constructor and Description |
---|
TrialComponentMetricSummary() |
Modifier and Type | Method and Description |
---|---|
TrialComponentMetricSummary |
clone() |
boolean |
equals(Object obj) |
Double |
getAvg()
The average value of the metric.
|
Integer |
getCount()
The number of samples used to generate the metric.
|
Double |
getLast()
The most recent value of the metric.
|
Double |
getMax()
The maximum value of the metric.
|
String |
getMetricName()
The name of the metric.
|
Double |
getMin()
The minimum value of the metric.
|
String |
getSourceArn()
The Amazon Resource Name (ARN) of the source.
|
Double |
getStdDev()
The standard deviation of the metric.
|
Date |
getTimeStamp()
When the metric was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvg(Double avg)
The average value of the metric.
|
void |
setCount(Integer count)
The number of samples used to generate the metric.
|
void |
setLast(Double last)
The most recent value of the metric.
|
void |
setMax(Double max)
The maximum value of the metric.
|
void |
setMetricName(String metricName)
The name of the metric.
|
void |
setMin(Double min)
The minimum value of the metric.
|
void |
setSourceArn(String sourceArn)
The Amazon Resource Name (ARN) of the source.
|
void |
setStdDev(Double stdDev)
The standard deviation of the metric.
|
void |
setTimeStamp(Date timeStamp)
When the metric was last updated.
|
String |
toString()
Returns a string representation of this object.
|
TrialComponentMetricSummary |
withAvg(Double avg)
The average value of the metric.
|
TrialComponentMetricSummary |
withCount(Integer count)
The number of samples used to generate the metric.
|
TrialComponentMetricSummary |
withLast(Double last)
The most recent value of the metric.
|
TrialComponentMetricSummary |
withMax(Double max)
The maximum value of the metric.
|
TrialComponentMetricSummary |
withMetricName(String metricName)
The name of the metric.
|
TrialComponentMetricSummary |
withMin(Double min)
The minimum value of the metric.
|
TrialComponentMetricSummary |
withSourceArn(String sourceArn)
The Amazon Resource Name (ARN) of the source.
|
TrialComponentMetricSummary |
withStdDev(Double stdDev)
The standard deviation of the metric.
|
TrialComponentMetricSummary |
withTimeStamp(Date timeStamp)
When the metric was last updated.
|
public void setMetricName(String metricName)
The name of the metric.
metricName
- The name of the metric.public String getMetricName()
The name of the metric.
public TrialComponentMetricSummary withMetricName(String metricName)
The name of the metric.
metricName
- The name of the metric.public void setSourceArn(String sourceArn)
The Amazon Resource Name (ARN) of the source.
sourceArn
- The Amazon Resource Name (ARN) of the source.public String getSourceArn()
The Amazon Resource Name (ARN) of the source.
public TrialComponentMetricSummary withSourceArn(String sourceArn)
The Amazon Resource Name (ARN) of the source.
sourceArn
- The Amazon Resource Name (ARN) of the source.public void setTimeStamp(Date timeStamp)
When the metric was last updated.
timeStamp
- When the metric was last updated.public Date getTimeStamp()
When the metric was last updated.
public TrialComponentMetricSummary withTimeStamp(Date timeStamp)
When the metric was last updated.
timeStamp
- When the metric was last updated.public void setMax(Double max)
The maximum value of the metric.
max
- The maximum value of the metric.public Double getMax()
The maximum value of the metric.
public TrialComponentMetricSummary withMax(Double max)
The maximum value of the metric.
max
- The maximum value of the metric.public void setMin(Double min)
The minimum value of the metric.
min
- The minimum value of the metric.public Double getMin()
The minimum value of the metric.
public TrialComponentMetricSummary withMin(Double min)
The minimum value of the metric.
min
- The minimum value of the metric.public void setLast(Double last)
The most recent value of the metric.
last
- The most recent value of the metric.public Double getLast()
The most recent value of the metric.
public TrialComponentMetricSummary withLast(Double last)
The most recent value of the metric.
last
- The most recent value of the metric.public void setCount(Integer count)
The number of samples used to generate the metric.
count
- The number of samples used to generate the metric.public Integer getCount()
The number of samples used to generate the metric.
public TrialComponentMetricSummary withCount(Integer count)
The number of samples used to generate the metric.
count
- The number of samples used to generate the metric.public void setAvg(Double avg)
The average value of the metric.
avg
- The average value of the metric.public Double getAvg()
The average value of the metric.
public TrialComponentMetricSummary withAvg(Double avg)
The average value of the metric.
avg
- The average value of the metric.public void setStdDev(Double stdDev)
The standard deviation of the metric.
stdDev
- The standard deviation of the metric.public Double getStdDev()
The standard deviation of the metric.
public TrialComponentMetricSummary withStdDev(Double stdDev)
The standard deviation of the metric.
stdDev
- The standard deviation of the metric.public String toString()
toString
in class Object
Object.toString()
public TrialComponentMetricSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.