Interface BatchGetFrameMetricDataResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeGuruProfilerResponse.Builder
,CopyableBuilder<BatchGetFrameMetricDataResponse.Builder,
,BatchGetFrameMetricDataResponse> SdkBuilder<BatchGetFrameMetricDataResponse.Builder,
,BatchGetFrameMetricDataResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchGetFrameMetricDataResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe end time of the time period for the returned time series values.endTimes
(Collection<TimestampStructure> endTimes) List of instances, or time steps, in the time series.endTimes
(Consumer<TimestampStructure.Builder>... endTimes) List of instances, or time steps, in the time series.endTimes
(TimestampStructure... endTimes) List of instances, or time steps, in the time series.frameMetricData
(Collection<FrameMetricDatum> frameMetricData) Details of the metrics to request a time series of values.frameMetricData
(Consumer<FrameMetricDatum.Builder>... frameMetricData) Details of the metrics to request a time series of values.frameMetricData
(FrameMetricDatum... frameMetricData) Details of the metrics to request a time series of values.resolution
(String resolution) Resolution or granularity of the profile data used to generate the time series.resolution
(AggregationPeriod resolution) Resolution or granularity of the profile data used to generate the time series.The start time of the time period for the returned time series values.unprocessedEndTimes
(Map<String, ? extends Collection<TimestampStructure>> unprocessedEndTimes) List of instances which remained unprocessed.Methods inherited from interface software.amazon.awssdk.services.codeguruprofiler.model.CodeGuruProfilerResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTimes
List of instances, or time steps, in the time series. For example, if the
period
is one day (PT24H)
), and theresolution
is five minutes (PT5M
), then there are 288endTimes
in the list that are each five minutes appart.- Parameters:
endTimes
- List of instances, or time steps, in the time series. For example, if theperiod
is one day (PT24H)
), and theresolution
is five minutes (PT5M
), then there are 288endTimes
in the list that are each five minutes appart.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTimes
List of instances, or time steps, in the time series. For example, if the
period
is one day (PT24H)
), and theresolution
is five minutes (PT5M
), then there are 288endTimes
in the list that are each five minutes appart.- Parameters:
endTimes
- List of instances, or time steps, in the time series. For example, if theperiod
is one day (PT24H)
), and theresolution
is five minutes (PT5M
), then there are 288endTimes
in the list that are each five minutes appart.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTimes
List of instances, or time steps, in the time series. For example, if the
This is a convenience method that creates an instance of theperiod
is one day (PT24H)
), and theresolution
is five minutes (PT5M
), then there are 288endTimes
in the list that are each five minutes appart.TimestampStructure.Builder
avoiding the need to create one manually viaTimestampStructure.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendTimes(List<TimestampStructure>)
.- Parameters:
endTimes
- a consumer that will call methods onTimestampStructure.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
frameMetricData
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameMetricData
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 viaFrameMetricDatum.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toframeMetricData(List<FrameMetricDatum>)
.- Parameters:
frameMetricData
- a consumer that will call methods onFrameMetricDatum.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unprocessedEndTimes
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.
- Parameters:
unprocessedEndTimes
- List of instances which remained unprocessed. This will create a missing time step in the list of end times.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-