Interface BatchGetFrameMetricDataRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeGuruProfilerRequest.Builder,CopyableBuilder<BatchGetFrameMetricDataRequest.Builder,BatchGetFrameMetricDataRequest>,SdkBuilder<BatchGetFrameMetricDataRequest.Builder,BatchGetFrameMetricDataRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- BatchGetFrameMetricDataRequest
public static interface BatchGetFrameMetricDataRequest.Builder extends CodeGuruProfilerRequest.Builder, SdkPojo, CopyableBuilder<BatchGetFrameMetricDataRequest.Builder,BatchGetFrameMetricDataRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchGetFrameMetricDataRequest.BuilderendTime(Instant endTime)The end time of the time period for the returned time series values.BatchGetFrameMetricDataRequest.BuilderframeMetrics(Collection<FrameMetric> frameMetrics)The details of the metrics that are used to request a time series of values.BatchGetFrameMetricDataRequest.BuilderframeMetrics(Consumer<FrameMetric.Builder>... frameMetrics)The details of the metrics that are used to request a time series of values.BatchGetFrameMetricDataRequest.BuilderframeMetrics(FrameMetric... frameMetrics)The details of the metrics that are used to request a time series of values.BatchGetFrameMetricDataRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)BatchGetFrameMetricDataRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)BatchGetFrameMetricDataRequest.Builderperiod(String period)The duration of the frame metrics used to return the time series values.BatchGetFrameMetricDataRequest.BuilderprofilingGroupName(String profilingGroupName)The name of the profiling group associated with the the frame metrics used to return the time series values.BatchGetFrameMetricDataRequest.BuilderstartTime(Instant startTime)The start time of the time period for the frame metrics used to return the time series values.BatchGetFrameMetricDataRequest.BuildertargetResolution(String targetResolution)The requested resolution of time steps for the returned time series of values.BatchGetFrameMetricDataRequest.BuildertargetResolution(AggregationPeriod targetResolution)The requested resolution of time steps for the returned time series of values.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codeguruprofiler.model.CodeGuruProfilerRequest.Builder
build
-
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
-
endTime
BatchGetFrameMetricDataRequest.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.
- 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.
-
frameMetrics
BatchGetFrameMetricDataRequest.Builder frameMetrics(Collection<FrameMetric> frameMetrics)
The details of the metrics that are used 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:
frameMetrics- The details of the metrics that are used 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.
-
frameMetrics
BatchGetFrameMetricDataRequest.Builder frameMetrics(FrameMetric... frameMetrics)
The details of the metrics that are used 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:
frameMetrics- The details of the metrics that are used 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.
-
frameMetrics
BatchGetFrameMetricDataRequest.Builder frameMetrics(Consumer<FrameMetric.Builder>... frameMetrics)
The details of the metrics that are used 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 theFrameMetric.Builderavoiding the need to create one manually viaFrameMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#frameMetrics(List.) - Parameters:
frameMetrics- a consumer that will call methods onFrameMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#frameMetrics(java.util.Collection)
-
period
BatchGetFrameMetricDataRequest.Builder period(String period)
The duration of the frame metrics used to return the time series values. Specify using the ISO 8601 format. The maximum period duration is one day (
PT24HorP1D).- Parameters:
period- The duration of the frame metrics used to return the time series values. Specify using the ISO 8601 format. The maximum period duration is one day (PT24HorP1D).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profilingGroupName
BatchGetFrameMetricDataRequest.Builder profilingGroupName(String profilingGroupName)
The name of the profiling group associated with the the frame metrics used to return the time series values.
- Parameters:
profilingGroupName- The name of the profiling group associated with the the frame metrics used to return the time series values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
BatchGetFrameMetricDataRequest.Builder startTime(Instant startTime)
The start time of the time period for the frame metrics used to return the 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 frame metrics used to return the 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.
-
targetResolution
BatchGetFrameMetricDataRequest.Builder targetResolution(String targetResolution)
The requested resolution of time steps for the returned time series of values. If the requested target resolution is not available due to data not being retained we provide a best effort result by falling back to the most granular available resolution after the target resolution. There are 3 valid values.
-
P1D— 1 day -
PT1H— 1 hour -
PT5M— 5 minutes
- Parameters:
targetResolution- The requested resolution of time steps for the returned time series of values. If the requested target resolution is not available due to data not being retained we provide a best effort result by falling back to the most granular available resolution after the target resolution. 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:
AggregationPeriod,AggregationPeriod
-
-
targetResolution
BatchGetFrameMetricDataRequest.Builder targetResolution(AggregationPeriod targetResolution)
The requested resolution of time steps for the returned time series of values. If the requested target resolution is not available due to data not being retained we provide a best effort result by falling back to the most granular available resolution after the target resolution. There are 3 valid values.
-
P1D— 1 day -
PT1H— 1 hour -
PT5M— 5 minutes
- Parameters:
targetResolution- The requested resolution of time steps for the returned time series of values. If the requested target resolution is not available due to data not being retained we provide a best effort result by falling back to the most granular available resolution after the target resolution. 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:
AggregationPeriod,AggregationPeriod
-
-
overrideConfiguration
BatchGetFrameMetricDataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchGetFrameMetricDataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-