Interface BatchGetFrameMetricDataRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeGuruProfilerRequest.Builder,CopyableBuilder<BatchGetFrameMetricDataRequest.Builder,,BatchGetFrameMetricDataRequest> SdkBuilder<BatchGetFrameMetricDataRequest.Builder,,BatchGetFrameMetricDataRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchGetFrameMetricDataRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe end time of the time period for the returned time series values.frameMetrics(Collection<FrameMetric> frameMetrics) The details of the metrics that are used to request a time series of values.frameMetrics(Consumer<FrameMetric.Builder>... frameMetrics) The details of the metrics that are used to request a time series of values.frameMetrics(FrameMetric... frameMetrics) The details of the metrics that are used to request a time series of values.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The duration of the frame metrics used to return the time series values.profilingGroupName(String profilingGroupName) The name of the profiling group associated with the the frame metrics used to return the time series values.The start time of the time period for the frame metrics used to return the time series values.targetResolution(String targetResolution) The requested resolution of time steps for the returned time series of values.targetResolution(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codeguruprofiler.model.CodeGuruProfilerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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.
-
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
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
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 toframeMetrics(List<FrameMetric>).- 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:
-
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
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
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
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:
-
-
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:
-
-
overrideConfiguration
BatchGetFrameMetricDataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchGetFrameMetricDataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-