public static interface GetEc2RecommendationProjectedMetricsRequest.Builder extends ComputeOptimizerRequest.Builder, SdkPojo, CopyableBuilder<GetEc2RecommendationProjectedMetricsRequest.Builder,GetEc2RecommendationProjectedMetricsRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetEc2RecommendationProjectedMetricsRequest.Builder instanceArn(String instanceArn)
The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.
instanceArn - The Amazon Resource Name (ARN) of the instances for which to return recommendation projected metrics.GetEc2RecommendationProjectedMetricsRequest.Builder stat(String stat)
The statistic of the projected metrics.
stat - The statistic of the projected metrics.MetricStatistic,
MetricStatisticGetEc2RecommendationProjectedMetricsRequest.Builder stat(MetricStatistic stat)
The statistic of the projected metrics.
stat - The statistic of the projected metrics.MetricStatistic,
MetricStatisticGetEc2RecommendationProjectedMetricsRequest.Builder period(Integer period)
The granularity, in seconds, of the projected metrics data points.
period - The granularity, in seconds, of the projected metrics data points.GetEc2RecommendationProjectedMetricsRequest.Builder startTime(Instant startTime)
The timestamp of the first projected metrics data point to return.
startTime - The timestamp of the first projected metrics data point to return.GetEc2RecommendationProjectedMetricsRequest.Builder endTime(Instant endTime)
The timestamp of the last projected metrics data point to return.
endTime - The timestamp of the last projected metrics data point to return.GetEc2RecommendationProjectedMetricsRequest.Builder recommendationPreferences(RecommendationPreferences recommendationPreferences)
An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.
recommendationPreferences - An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in
the response.default GetEc2RecommendationProjectedMetricsRequest.Builder recommendationPreferences(Consumer<RecommendationPreferences.Builder> recommendationPreferences)
An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.
This is a convenience method that creates an instance of theRecommendationPreferences.Builder
avoiding the need to create one manually via RecommendationPreferences.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to recommendationPreferences(RecommendationPreferences).
recommendationPreferences - a consumer that will call methods on RecommendationPreferences.BuilderrecommendationPreferences(RecommendationPreferences)GetEc2RecommendationProjectedMetricsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetEc2RecommendationProjectedMetricsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.