@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetMetricDataResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the result of processing your metric data batch request
Constructor and Description |
---|
BatchGetMetricDataResult() |
Modifier and Type | Method and Description |
---|---|
BatchGetMetricDataResult |
clone() |
boolean |
equals(Object obj) |
List<MetricDataError> |
getErrors()
A list of
MetricDataError encountered while processing your metric data batch request. |
List<MetricDataResult> |
getResults()
A list of successfully retrieved
MetricDataResult . |
int |
hashCode() |
void |
setErrors(Collection<MetricDataError> errors)
A list of
MetricDataError encountered while processing your metric data batch request. |
void |
setResults(Collection<MetricDataResult> results)
A list of successfully retrieved
MetricDataResult . |
String |
toString()
Returns a string representation of this object.
|
BatchGetMetricDataResult |
withErrors(Collection<MetricDataError> errors)
A list of
MetricDataError encountered while processing your metric data batch request. |
BatchGetMetricDataResult |
withErrors(MetricDataError... errors)
A list of
MetricDataError encountered while processing your metric data batch request. |
BatchGetMetricDataResult |
withResults(Collection<MetricDataResult> results)
A list of successfully retrieved
MetricDataResult . |
BatchGetMetricDataResult |
withResults(MetricDataResult... results)
A list of successfully retrieved
MetricDataResult . |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<MetricDataResult> getResults()
A list of successfully retrieved MetricDataResult
.
MetricDataResult
.public void setResults(Collection<MetricDataResult> results)
A list of successfully retrieved MetricDataResult
.
results
- A list of successfully retrieved MetricDataResult
.public BatchGetMetricDataResult withResults(MetricDataResult... results)
A list of successfully retrieved MetricDataResult
.
NOTE: This method appends the values to the existing list (if any). Use
setResults(java.util.Collection)
or withResults(java.util.Collection)
if you want to override
the existing values.
results
- A list of successfully retrieved MetricDataResult
.public BatchGetMetricDataResult withResults(Collection<MetricDataResult> results)
A list of successfully retrieved MetricDataResult
.
results
- A list of successfully retrieved MetricDataResult
.public List<MetricDataError> getErrors()
A list of MetricDataError
encountered while processing your metric data batch request.
MetricDataError
encountered while processing your metric data batch request.public void setErrors(Collection<MetricDataError> errors)
A list of MetricDataError
encountered while processing your metric data batch request.
errors
- A list of MetricDataError
encountered while processing your metric data batch request.public BatchGetMetricDataResult withErrors(MetricDataError... errors)
A list of MetricDataError
encountered while processing your metric data batch request.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- A list of MetricDataError
encountered while processing your metric data batch request.public BatchGetMetricDataResult withErrors(Collection<MetricDataError> errors)
A list of MetricDataError
encountered while processing your metric data batch request.
errors
- A list of MetricDataError
encountered while processing your metric data batch request.public String toString()
toString
in class Object
Object.toString()
public BatchGetMetricDataResult clone()