Interface GetEcsServiceRecommendationProjectedMetricsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComputeOptimizerRequest.Builder,CopyableBuilder<GetEcsServiceRecommendationProjectedMetricsRequest.Builder,,GetEcsServiceRecommendationProjectedMetricsRequest> SdkBuilder<GetEcsServiceRecommendationProjectedMetricsRequest.Builder,,GetEcsServiceRecommendationProjectedMetricsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetEcsServiceRecommendationProjectedMetricsRequest
public static interface GetEcsServiceRecommendationProjectedMetricsRequest.Builder
extends ComputeOptimizerRequest.Builder, SdkPojo, CopyableBuilder<GetEcsServiceRecommendationProjectedMetricsRequest.Builder,GetEcsServiceRecommendationProjectedMetricsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp of the last projected metrics data point to return.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The granularity, in seconds, of the projected metrics data points.serviceArn(String serviceArn) The ARN that identifies the Amazon ECS service.The timestamp of the first projected metrics data point to return.The statistic of the projected metrics.stat(MetricStatistic stat) The statistic of the projected metrics.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.computeoptimizer.model.ComputeOptimizerRequest.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
-
serviceArn
The ARN that identifies the Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name- Parameters:
serviceArn- The ARN that identifies the Amazon ECS service.The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stat
The statistic of the projected metrics.
- Parameters:
stat- The statistic of the projected metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stat
The statistic of the projected metrics.
- Parameters:
stat- The statistic of the projected metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
period
The granularity, in seconds, of the projected metrics data points.
- Parameters:
period- The granularity, in seconds, of the projected metrics data points.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The timestamp of the first projected metrics data point to return.
- Parameters:
startTime- The timestamp of the first projected metrics data point to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The timestamp of the last projected metrics data point to return.
- Parameters:
endTime- The timestamp of the last projected metrics data point to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetEcsServiceRecommendationProjectedMetricsRequest.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
GetEcsServiceRecommendationProjectedMetricsRequest.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.
-