Interface CloudWatchMetricsDataSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CloudWatchMetricsDataSummary.Builder,
,CloudWatchMetricsDataSummary> SdkBuilder<CloudWatchMetricsDataSummary.Builder,
,CloudWatchMetricsDataSummary> SdkPojo
- Enclosing class:
CloudWatchMetricsDataSummary
public static interface CloudWatchMetricsDataSummary.Builder
extends SdkPojo, CopyableBuilder<CloudWatchMetricsDataSummary.Builder,CloudWatchMetricsDataSummary>
-
Method Summary
Modifier and TypeMethodDescriptionstatusCode
(String statusCode) This is an enum of the status showing whether the metric value pair list has partial or complete data, or if there was an error.statusCode
(CloudWatchMetricDataStatusCode statusCode) This is an enum of the status showing whether the metric value pair list has partial or complete data, or if there was an error.timestampMetricValuePairList
(Collection<TimestampMetricValuePair> timestampMetricValuePairList) This is a list of Amazon CloudWatch metric values at given timestamp.timestampMetricValuePairList
(Consumer<TimestampMetricValuePair.Builder>... timestampMetricValuePairList) This is a list of Amazon CloudWatch metric values at given timestamp.timestampMetricValuePairList
(TimestampMetricValuePair... timestampMetricValuePairList) This is a list of Amazon CloudWatch metric values at given timestamp.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
timestampMetricValuePairList
CloudWatchMetricsDataSummary.Builder timestampMetricValuePairList(Collection<TimestampMetricValuePair> timestampMetricValuePairList) This is a list of Amazon CloudWatch metric values at given timestamp.
- Parameters:
timestampMetricValuePairList
- This is a list of Amazon CloudWatch metric values at given timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestampMetricValuePairList
CloudWatchMetricsDataSummary.Builder timestampMetricValuePairList(TimestampMetricValuePair... timestampMetricValuePairList) This is a list of Amazon CloudWatch metric values at given timestamp.
- Parameters:
timestampMetricValuePairList
- This is a list of Amazon CloudWatch metric values at given timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestampMetricValuePairList
CloudWatchMetricsDataSummary.Builder timestampMetricValuePairList(Consumer<TimestampMetricValuePair.Builder>... timestampMetricValuePairList) This is a list of Amazon CloudWatch metric values at given timestamp.
This is a convenience method that creates an instance of theTimestampMetricValuePair.Builder
avoiding the need to create one manually viaTimestampMetricValuePair.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimestampMetricValuePairList(List<TimestampMetricValuePair>)
.- Parameters:
timestampMetricValuePairList
- a consumer that will call methods onTimestampMetricValuePair.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusCode
This is an enum of the status showing whether the metric value pair list has partial or complete data, or if there was an error.
- Parameters:
statusCode
- This is an enum of the status showing whether the metric value pair list has partial or complete data, or if there was an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusCode
This is an enum of the status showing whether the metric value pair list has partial or complete data, or if there was an error.
- Parameters:
statusCode
- This is an enum of the status showing whether the metric value pair list has partial or complete data, or if there was an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-