Interface MetricInterval.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MetricInterval.Builder,MetricInterval>,SdkBuilder<MetricInterval.Builder,MetricInterval>,SdkPojo
- Enclosing class:
- MetricInterval
public static interface MetricInterval.Builder extends SdkPojo, CopyableBuilder<MetricInterval.Builder,MetricInterval>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricInterval.BuilderendTime(Instant endTime)The timestamp, in UNIX Epoch time format.MetricInterval.Builderinterval(String interval)The interval period provided in the API request.MetricInterval.Builderinterval(IntervalPeriod interval)The interval period provided in the API request.MetricInterval.BuilderstartTime(Instant startTime)The timestamp, in UNIX Epoch time format.-
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 Detail
-
interval
MetricInterval.Builder interval(String interval)
The interval period provided in the API request.
- Parameters:
interval- The interval period provided in the API request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IntervalPeriod,IntervalPeriod
-
interval
MetricInterval.Builder interval(IntervalPeriod interval)
The interval period provided in the API request.
- Parameters:
interval- The interval period provided in the API request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IntervalPeriod,IntervalPeriod
-
startTime
MetricInterval.Builder startTime(Instant startTime)
The timestamp, in UNIX Epoch time format. Start time is based on the interval period selected.
- Parameters:
startTime- The timestamp, in UNIX Epoch time format. Start time is based on the interval period selected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
MetricInterval.Builder endTime(Instant endTime)
The timestamp, in UNIX Epoch time format. End time is based on the interval period selected. For example, If
IntervalPeriodis selectedTHIRTY_MIN,StartTimeandEndTimein the API request differs by 1 day, then 48 results are returned in the response. Each result is aggregated by the 30 minutes period, with eachStartTimeandEndTimediffering by 30 minutes.- Parameters:
endTime- The timestamp, in UNIX Epoch time format. End time is based on the interval period selected. For example, IfIntervalPeriodis selectedTHIRTY_MIN,StartTimeandEndTimein the API request differs by 1 day, then 48 results are returned in the response. Each result is aggregated by the 30 minutes period, with eachStartTimeandEndTimediffering by 30 minutes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-