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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchGetFrameMetricDataResponse.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.
TimestampStructure.Builder avoiding the need
to create one manually via
TimestampStructure.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #endTimes(List.
endTimes - a consumer that will call methods on
TimestampStructure.Builder#endTimes(java.util.Collection) 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 method that creates an instance of theFrameMetricDatum.Builder avoiding the need to
create one manually via
FrameMetricDatum.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #frameMetricData(List.
frameMetricData - a consumer that will call methods on
FrameMetricDatum.Builder#frameMetricData(java.util.Collection) 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,
AggregationPeriodBatchGetFrameMetricDataResponse.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,
AggregationPeriodBatchGetFrameMetricDataResponse.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.Copyright © 2023. All rights reserved.