public static interface GetMetricDataResponse.Builder extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<GetMetricDataResponse.Builder,GetMetricDataResponse>
| Modifier and Type | Method and Description |
|---|---|
GetMetricDataResponse.Builder |
messages(Collection<MessageData> messages)
Contains a message about this
GetMetricData operation, if the operation results in such a
message. |
GetMetricDataResponse.Builder |
messages(Consumer<MessageData.Builder>... messages)
Contains a message about this
GetMetricData operation, if the operation results in such a
message. |
GetMetricDataResponse.Builder |
messages(MessageData... messages)
Contains a message about this
GetMetricData operation, if the operation results in such a
message. |
GetMetricDataResponse.Builder |
metricDataResults(Collection<MetricDataResult> metricDataResults)
The metrics that are returned, including the metric name, namespace, and dimensions.
|
GetMetricDataResponse.Builder |
metricDataResults(Consumer<MetricDataResult.Builder>... metricDataResults)
The metrics that are returned, including the metric name, namespace, and dimensions.
|
GetMetricDataResponse.Builder |
metricDataResults(MetricDataResult... metricDataResults)
The metrics that are returned, including the metric name, namespace, and dimensions.
|
GetMetricDataResponse.Builder |
nextToken(String nextToken)
A token that marks the next batch of returned results.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetMetricDataResponse.Builder metricDataResults(Collection<MetricDataResult> metricDataResults)
The metrics that are returned, including the metric name, namespace, and dimensions.
metricDataResults - The metrics that are returned, including the metric name, namespace, and dimensions.GetMetricDataResponse.Builder metricDataResults(MetricDataResult... metricDataResults)
The metrics that are returned, including the metric name, namespace, and dimensions.
metricDataResults - The metrics that are returned, including the metric name, namespace, and dimensions.GetMetricDataResponse.Builder metricDataResults(Consumer<MetricDataResult.Builder>... metricDataResults)
The metrics that are returned, including the metric name, namespace, and dimensions.
This is a convenience that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #metricDataResults(List) .metricDataResults - a consumer that will call methods on List.Builder #metricDataResults(List) GetMetricDataResponse.Builder nextToken(String nextToken)
A token that marks the next batch of returned results.
nextToken - A token that marks the next batch of returned results.GetMetricDataResponse.Builder messages(Collection<MessageData> messages)
Contains a message about this GetMetricData operation, if the operation results in such a
message. An example of a message that may be returned is
Maximum number of allowed metrics exceeded. If there is a message, as much of the operation as
possible is still executed.
A message appears here only if it is related to the global GetMetricData operation. Any message
about a specific metric returned by the operation appears in the MetricDataResult object
returned for that metric.
messages - Contains a message about this GetMetricData operation, if the operation results in such a
message. An example of a message that may be returned is
Maximum number of allowed metrics exceeded. If there is a message, as much of the
operation as possible is still executed.
A message appears here only if it is related to the global GetMetricData operation. Any
message about a specific metric returned by the operation appears in the MetricDataResult
object returned for that metric.
GetMetricDataResponse.Builder messages(MessageData... messages)
Contains a message about this GetMetricData operation, if the operation results in such a
message. An example of a message that may be returned is
Maximum number of allowed metrics exceeded. If there is a message, as much of the operation as
possible is still executed.
A message appears here only if it is related to the global GetMetricData operation. Any message
about a specific metric returned by the operation appears in the MetricDataResult object
returned for that metric.
messages - Contains a message about this GetMetricData operation, if the operation results in such a
message. An example of a message that may be returned is
Maximum number of allowed metrics exceeded. If there is a message, as much of the
operation as possible is still executed.
A message appears here only if it is related to the global GetMetricData operation. Any
message about a specific metric returned by the operation appears in the MetricDataResult
object returned for that metric.
GetMetricDataResponse.Builder messages(Consumer<MessageData.Builder>... messages)
Contains a message about this GetMetricData operation, if the operation results in such a
message. An example of a message that may be returned is
Maximum number of allowed metrics exceeded. If there is a message, as much of the operation as
possible is still executed.
A message appears here only if it is related to the global GetMetricData operation. Any message
about a specific metric returned by the operation appears in the MetricDataResult object
returned for that metric.
List.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #messages(List) .messages - a consumer that will call methods on List.Builder #messages(List) Copyright © 2020. All rights reserved.