@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMetricsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetMetricsResult() |
| Modifier and Type | Method and Description |
|---|---|
GetMetricsResult |
clone() |
boolean |
equals(Object obj) |
List<SummaryMetricQueryResult> |
getSummaryMetricQueryResults()
The list of summary metrics that were retrieved.
|
int |
hashCode() |
void |
setSummaryMetricQueryResults(Collection<SummaryMetricQueryResult> summaryMetricQueryResults)
The list of summary metrics that were retrieved.
|
String |
toString()
Returns a string representation of this object.
|
GetMetricsResult |
withSummaryMetricQueryResults(Collection<SummaryMetricQueryResult> summaryMetricQueryResults)
The list of summary metrics that were retrieved.
|
GetMetricsResult |
withSummaryMetricQueryResults(SummaryMetricQueryResult... summaryMetricQueryResults)
The list of summary metrics that were retrieved.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<SummaryMetricQueryResult> getSummaryMetricQueryResults()
The list of summary metrics that were retrieved.
public void setSummaryMetricQueryResults(Collection<SummaryMetricQueryResult> summaryMetricQueryResults)
The list of summary metrics that were retrieved.
summaryMetricQueryResults - The list of summary metrics that were retrieved.public GetMetricsResult withSummaryMetricQueryResults(SummaryMetricQueryResult... summaryMetricQueryResults)
The list of summary metrics that were retrieved.
NOTE: This method appends the values to the existing list (if any). Use
setSummaryMetricQueryResults(java.util.Collection) or
withSummaryMetricQueryResults(java.util.Collection) if you want to override the existing values.
summaryMetricQueryResults - The list of summary metrics that were retrieved.public GetMetricsResult withSummaryMetricQueryResults(Collection<SummaryMetricQueryResult> summaryMetricQueryResults)
The list of summary metrics that were retrieved.
summaryMetricQueryResults - The list of summary metrics that were retrieved.public String toString()
toString in class ObjectObject.toString()public GetMetricsResult clone()