Interface MetricDataResult.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<MetricDataResult.Builder,MetricDataResult>
,SdkBuilder<MetricDataResult.Builder,MetricDataResult>
,SdkPojo
- Enclosing class:
- MetricDataResult
public static interface MetricDataResult.Builder extends SdkPojo, CopyableBuilder<MetricDataResult.Builder,MetricDataResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricDataResult.Builder
id(String id)
The query identifier.MetricDataResult.Builder
timestamps(Instant... timestamps)
A list of timestamps for the metric data results.MetricDataResult.Builder
timestamps(Collection<Instant> timestamps)
A list of timestamps for the metric data results.MetricDataResult.Builder
values(Long... values)
A list of values (cumulative / sum) for the metric data results.MetricDataResult.Builder
values(Collection<Long> values)
A list of values (cumulative / sum) for the metric data results.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
MetricDataResult.Builder id(String id)
The query identifier.
- Parameters:
id
- The query identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamps
MetricDataResult.Builder timestamps(Collection<Instant> timestamps)
A list of timestamps for the metric data results.
- Parameters:
timestamps
- A list of timestamps for the metric data results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamps
MetricDataResult.Builder timestamps(Instant... timestamps)
A list of timestamps for the metric data results.
- Parameters:
timestamps
- A list of timestamps for the metric data results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
MetricDataResult.Builder values(Collection<Long> values)
A list of values (cumulative / sum) for the metric data results.
- Parameters:
values
- A list of values (cumulative / sum) for the metric data results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
MetricDataResult.Builder values(Long... values)
A list of values (cumulative / sum) for the metric data results.
- Parameters:
values
- A list of values (cumulative / sum) for the metric data results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-