public static interface BatchGetFrameMetricDataResponse.Builder extends CodeGuruProfilerResponse.Builder, SdkPojo, CopyableBuilder<BatchGetFrameMetricDataResponse.Builder,BatchGetFrameMetricDataResponse>
Modifier and Type | Method and Description |
---|---|
BatchGetFrameMetricDataResponse.Builder |
endTime(Instant endTime)
The end time of the time period for the returned time series values.
|
BatchGetFrameMetricDataResponse.Builder |
endTimes(Collection<TimestampStructure> endTimes)
List of instances, or time steps, in the time series.
|
BatchGetFrameMetricDataResponse.Builder |
endTimes(Consumer<TimestampStructure.Builder>... endTimes)
List of instances, or time steps, in the time series.
|
BatchGetFrameMetricDataResponse.Builder |
endTimes(TimestampStructure... endTimes)
List of instances, or time steps, in the time series.
|
BatchGetFrameMetricDataResponse.Builder |
frameMetricData(Collection<FrameMetricDatum> frameMetricData)
Details of the metrics to request a time series of values.
|
BatchGetFrameMetricDataResponse.Builder |
frameMetricData(Consumer<FrameMetricDatum.Builder>... frameMetricData)
Details of the metrics to request a time series of values.
|
BatchGetFrameMetricDataResponse.Builder |
frameMetricData(FrameMetricDatum... frameMetricData)
Details of the metrics to request a time series of values.
|
BatchGetFrameMetricDataResponse.Builder |
resolution(AggregationPeriod resolution)
Resolution or granularity of the profile data used to generate the time series.
|
BatchGetFrameMetricDataResponse.Builder |
resolution(String resolution)
Resolution or granularity of the profile data used to generate the time series.
|
BatchGetFrameMetricDataResponse.Builder |
startTime(Instant startTime)
The start time of the time period for the returned time series values.
|
BatchGetFrameMetricDataResponse.Builder |
unprocessedEndTimes(Map<String,? extends Collection<TimestampStructure>> unprocessedEndTimes)
List of instances which remained unprocessed.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
BatchGetFrameMetricDataResponse.Builder endTime(Instant endTime)
The end time of the time period for the returned time series values. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
endTime
- The end time of the time period for the returned time series values. This is specified using the ISO
8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02
PM UTC.BatchGetFrameMetricDataResponse.Builder endTimes(Collection<TimestampStructure> endTimes)
List of instances, or time steps, in the time series. For example, if the period
is one day (
PT24H)
), and the resolution
is five minutes (PT5M
), then there are 288
endTimes
in the list that are each five minutes appart.
endTimes
- List of instances, or time steps, in the time series. For example, if the period
is one
day (PT24H)
), and the resolution
is five minutes (PT5M
), then
there are 288 endTimes
in the list that are each five minutes appart.BatchGetFrameMetricDataResponse.Builder endTimes(TimestampStructure... endTimes)
List of instances, or time steps, in the time series. For example, if the period
is one day (
PT24H)
), and the resolution
is five minutes (PT5M
), then there are 288
endTimes
in the list that are each five minutes appart.
endTimes
- List of instances, or time steps, in the time series. For example, if the period
is one
day (PT24H)
), and the resolution
is five minutes (PT5M
), then
there are 288 endTimes
in the list that are each five minutes appart.BatchGetFrameMetricDataResponse.Builder endTimes(Consumer<TimestampStructure.Builder>... endTimes)
List of instances, or time steps, in the time series. For example, if the period
is one day (
PT24H)
), and the resolution
is five minutes (PT5M
), then there are 288
endTimes
in the list that are each five minutes appart.
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 #endTimes(List)
.endTimes
- a consumer that will call methods on List.Builder
#endTimes(List)
BatchGetFrameMetricDataResponse.Builder frameMetricData(Collection<FrameMetricDatum> frameMetricData)
Details of the metrics to request a time series of values. The metric includes the name of the frame, the aggregation type to calculate the metric value for the frame, and the thread states to use to get the count for the metric value of the frame.
frameMetricData
- Details of the metrics to request a time series of values. The metric includes the name of the frame,
the aggregation type to calculate the metric value for the frame, and the thread states to use to get
the count for the metric value of the frame.BatchGetFrameMetricDataResponse.Builder frameMetricData(FrameMetricDatum... frameMetricData)
Details of the metrics to request a time series of values. The metric includes the name of the frame, the aggregation type to calculate the metric value for the frame, and the thread states to use to get the count for the metric value of the frame.
frameMetricData
- Details of the metrics to request a time series of values. The metric includes the name of the frame,
the aggregation type to calculate the metric value for the frame, and the thread states to use to get
the count for the metric value of the frame.BatchGetFrameMetricDataResponse.Builder frameMetricData(Consumer<FrameMetricDatum.Builder>... frameMetricData)
Details of the metrics to request a time series of values. The metric includes the name of the frame, the aggregation type to calculate the metric value for the frame, and the thread states to use to get the count for the metric value of the frame.
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 #frameMetricData(List)
.frameMetricData
- a consumer that will call methods on List.Builder
#frameMetricData(List)
BatchGetFrameMetricDataResponse.Builder resolution(String resolution)
Resolution or granularity of the profile data used to generate the time series. This is the value used to jump through time steps in a time series. There are 3 valid values.
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
resolution
- Resolution or granularity of the profile data used to generate the time series. This is the value used
to jump through time steps in a time series. There are 3 valid values.
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
AggregationPeriod
,
AggregationPeriod
BatchGetFrameMetricDataResponse.Builder resolution(AggregationPeriod resolution)
Resolution or granularity of the profile data used to generate the time series. This is the value used to jump through time steps in a time series. There are 3 valid values.
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
resolution
- Resolution or granularity of the profile data used to generate the time series. This is the value used
to jump through time steps in a time series. There are 3 valid values.
P1D
— 1 day
PT1H
— 1 hour
PT5M
— 5 minutes
AggregationPeriod
,
AggregationPeriod
BatchGetFrameMetricDataResponse.Builder startTime(Instant startTime)
The start time of the time period for the returned time series values. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
startTime
- The start time of the time period for the returned time series values. This is specified using the ISO
8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02
PM UTC.BatchGetFrameMetricDataResponse.Builder unprocessedEndTimes(Map<String,? extends Collection<TimestampStructure>> unprocessedEndTimes)
List of instances which remained unprocessed. This will create a missing time step in the list of end times.
unprocessedEndTimes
- List of instances which remained unprocessed. This will create a missing time step in the list of end
times.