Interface ResourceDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceDetails.Builder,
,ResourceDetails> SdkBuilder<ResourceDetails.Builder,
,ResourceDetails> SdkPojo
- Enclosing class:
ResourceDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceDetails.Builder
computeSavingsPlans
(Consumer<ComputeSavingsPlans.Builder> computeSavingsPlans) The Compute Savings Plans recommendation details.computeSavingsPlans
(ComputeSavingsPlans computeSavingsPlans) The Compute Savings Plans recommendation details.default ResourceDetails.Builder
ebsVolume
(Consumer<EbsVolume.Builder> ebsVolume) The Amazon Elastic Block Store volume recommendation details.The Amazon Elastic Block Store volume recommendation details.default ResourceDetails.Builder
ec2AutoScalingGroup
(Consumer<Ec2AutoScalingGroup.Builder> ec2AutoScalingGroup) The EC2 Auto Scaling group recommendation details.ec2AutoScalingGroup
(Ec2AutoScalingGroup ec2AutoScalingGroup) The EC2 Auto Scaling group recommendation details.default ResourceDetails.Builder
ec2Instance
(Consumer<Ec2Instance.Builder> ec2Instance) The EC2 instance recommendation details.ec2Instance
(Ec2Instance ec2Instance) The EC2 instance recommendation details.default ResourceDetails.Builder
ec2InstanceSavingsPlans
(Consumer<Ec2InstanceSavingsPlans.Builder> ec2InstanceSavingsPlans) The EC2 instance Savings Plans recommendation details.ec2InstanceSavingsPlans
(Ec2InstanceSavingsPlans ec2InstanceSavingsPlans) The EC2 instance Savings Plans recommendation details.default ResourceDetails.Builder
ec2ReservedInstances
(Consumer<Ec2ReservedInstances.Builder> ec2ReservedInstances) The EC2 reserved instances recommendation details.ec2ReservedInstances
(Ec2ReservedInstances ec2ReservedInstances) The EC2 reserved instances recommendation details.default ResourceDetails.Builder
ecsService
(Consumer<EcsService.Builder> ecsService) The ECS service recommendation details.ecsService
(EcsService ecsService) The ECS service recommendation details.default ResourceDetails.Builder
elastiCacheReservedInstances
(Consumer<ElastiCacheReservedInstances.Builder> elastiCacheReservedInstances) The ElastiCache reserved instances recommendation details.elastiCacheReservedInstances
(ElastiCacheReservedInstances elastiCacheReservedInstances) The ElastiCache reserved instances recommendation details.default ResourceDetails.Builder
lambdaFunction
(Consumer<LambdaFunction.Builder> lambdaFunction) The Lambda function recommendation details.lambdaFunction
(LambdaFunction lambdaFunction) The Lambda function recommendation details.default ResourceDetails.Builder
openSearchReservedInstances
(Consumer<OpenSearchReservedInstances.Builder> openSearchReservedInstances) The OpenSearch reserved instances recommendation details.openSearchReservedInstances
(OpenSearchReservedInstances openSearchReservedInstances) The OpenSearch reserved instances recommendation details.default ResourceDetails.Builder
rdsReservedInstances
(Consumer<RdsReservedInstances.Builder> rdsReservedInstances) The RDS reserved instances recommendation details.rdsReservedInstances
(RdsReservedInstances rdsReservedInstances) The RDS reserved instances recommendation details.default ResourceDetails.Builder
redshiftReservedInstances
(Consumer<RedshiftReservedInstances.Builder> redshiftReservedInstances) The Redshift reserved instances recommendation details.redshiftReservedInstances
(RedshiftReservedInstances redshiftReservedInstances) The Redshift reserved instances recommendation details.default ResourceDetails.Builder
sageMakerSavingsPlans
(Consumer<SageMakerSavingsPlans.Builder> sageMakerSavingsPlans) The SageMaker Savings Plans recommendation details.sageMakerSavingsPlans
(SageMakerSavingsPlans sageMakerSavingsPlans) The SageMaker Savings Plans recommendation details.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
-
Method Details
-
computeSavingsPlans
The Compute Savings Plans recommendation details.
- Parameters:
computeSavingsPlans
- The Compute Savings Plans recommendation details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeSavingsPlans
default ResourceDetails.Builder computeSavingsPlans(Consumer<ComputeSavingsPlans.Builder> computeSavingsPlans) The Compute Savings Plans recommendation details.
This is a convenience method that creates an instance of theComputeSavingsPlans.Builder
avoiding the need to create one manually viaComputeSavingsPlans.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomputeSavingsPlans(ComputeSavingsPlans)
.- Parameters:
computeSavingsPlans
- a consumer that will call methods onComputeSavingsPlans.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ebsVolume
The Amazon Elastic Block Store volume recommendation details.
- Parameters:
ebsVolume
- The Amazon Elastic Block Store volume recommendation details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsVolume
The Amazon Elastic Block Store volume recommendation details.
This is a convenience method that creates an instance of theEbsVolume.Builder
avoiding the need to create one manually viaEbsVolume.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toebsVolume(EbsVolume)
.- Parameters:
ebsVolume
- a consumer that will call methods onEbsVolume.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ec2AutoScalingGroup
The EC2 Auto Scaling group recommendation details.
- Parameters:
ec2AutoScalingGroup
- The EC2 Auto Scaling group recommendation details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2AutoScalingGroup
default ResourceDetails.Builder ec2AutoScalingGroup(Consumer<Ec2AutoScalingGroup.Builder> ec2AutoScalingGroup) The EC2 Auto Scaling group recommendation details.
This is a convenience method that creates an instance of theEc2AutoScalingGroup.Builder
avoiding the need to create one manually viaEc2AutoScalingGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toec2AutoScalingGroup(Ec2AutoScalingGroup)
.- Parameters:
ec2AutoScalingGroup
- a consumer that will call methods onEc2AutoScalingGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ec2Instance
The EC2 instance recommendation details.
- Parameters:
ec2Instance
- The EC2 instance recommendation details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2Instance
The EC2 instance recommendation details.
This is a convenience method that creates an instance of theEc2Instance.Builder
avoiding the need to create one manually viaEc2Instance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toec2Instance(Ec2Instance)
.- Parameters:
ec2Instance
- a consumer that will call methods onEc2Instance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ec2InstanceSavingsPlans
The EC2 instance Savings Plans recommendation details.
- Parameters:
ec2InstanceSavingsPlans
- The EC2 instance Savings Plans recommendation details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2InstanceSavingsPlans
default ResourceDetails.Builder ec2InstanceSavingsPlans(Consumer<Ec2InstanceSavingsPlans.Builder> ec2InstanceSavingsPlans) The EC2 instance Savings Plans recommendation details.
This is a convenience method that creates an instance of theEc2InstanceSavingsPlans.Builder
avoiding the need to create one manually viaEc2InstanceSavingsPlans.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toec2InstanceSavingsPlans(Ec2InstanceSavingsPlans)
.- Parameters:
ec2InstanceSavingsPlans
- a consumer that will call methods onEc2InstanceSavingsPlans.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ec2ReservedInstances
The EC2 reserved instances recommendation details.
- Parameters:
ec2ReservedInstances
- The EC2 reserved instances recommendation details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2ReservedInstances
default ResourceDetails.Builder ec2ReservedInstances(Consumer<Ec2ReservedInstances.Builder> ec2ReservedInstances) The EC2 reserved instances recommendation details.
This is a convenience method that creates an instance of theEc2ReservedInstances.Builder
avoiding the need to create one manually viaEc2ReservedInstances.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toec2ReservedInstances(Ec2ReservedInstances)
.- Parameters:
ec2ReservedInstances
- a consumer that will call methods onEc2ReservedInstances.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ecsService
The ECS service recommendation details.
- Parameters:
ecsService
- The ECS service recommendation details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecsService
The ECS service recommendation details.
This is a convenience method that creates an instance of theEcsService.Builder
avoiding the need to create one manually viaEcsService.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toecsService(EcsService)
.- Parameters:
ecsService
- a consumer that will call methods onEcsService.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
elastiCacheReservedInstances
ResourceDetails.Builder elastiCacheReservedInstances(ElastiCacheReservedInstances elastiCacheReservedInstances) The ElastiCache reserved instances recommendation details.
- Parameters:
elastiCacheReservedInstances
- The ElastiCache reserved instances recommendation details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elastiCacheReservedInstances
default ResourceDetails.Builder elastiCacheReservedInstances(Consumer<ElastiCacheReservedInstances.Builder> elastiCacheReservedInstances) The ElastiCache reserved instances recommendation details.
This is a convenience method that creates an instance of theElastiCacheReservedInstances.Builder
avoiding the need to create one manually viaElastiCacheReservedInstances.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toelastiCacheReservedInstances(ElastiCacheReservedInstances)
.- Parameters:
elastiCacheReservedInstances
- a consumer that will call methods onElastiCacheReservedInstances.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambdaFunction
The Lambda function recommendation details.
- Parameters:
lambdaFunction
- The Lambda function recommendation details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaFunction
The Lambda function recommendation details.
This is a convenience method that creates an instance of theLambdaFunction.Builder
avoiding the need to create one manually viaLambdaFunction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolambdaFunction(LambdaFunction)
.- Parameters:
lambdaFunction
- a consumer that will call methods onLambdaFunction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
openSearchReservedInstances
ResourceDetails.Builder openSearchReservedInstances(OpenSearchReservedInstances openSearchReservedInstances) The OpenSearch reserved instances recommendation details.
- Parameters:
openSearchReservedInstances
- The OpenSearch reserved instances recommendation details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openSearchReservedInstances
default ResourceDetails.Builder openSearchReservedInstances(Consumer<OpenSearchReservedInstances.Builder> openSearchReservedInstances) The OpenSearch reserved instances recommendation details.
This is a convenience method that creates an instance of theOpenSearchReservedInstances.Builder
avoiding the need to create one manually viaOpenSearchReservedInstances.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopenSearchReservedInstances(OpenSearchReservedInstances)
.- Parameters:
openSearchReservedInstances
- a consumer that will call methods onOpenSearchReservedInstances.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rdsReservedInstances
The RDS reserved instances recommendation details.
- Parameters:
rdsReservedInstances
- The RDS reserved instances recommendation details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rdsReservedInstances
default ResourceDetails.Builder rdsReservedInstances(Consumer<RdsReservedInstances.Builder> rdsReservedInstances) The RDS reserved instances recommendation details.
This is a convenience method that creates an instance of theRdsReservedInstances.Builder
avoiding the need to create one manually viaRdsReservedInstances.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tordsReservedInstances(RdsReservedInstances)
.- Parameters:
rdsReservedInstances
- a consumer that will call methods onRdsReservedInstances.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
redshiftReservedInstances
ResourceDetails.Builder redshiftReservedInstances(RedshiftReservedInstances redshiftReservedInstances) The Redshift reserved instances recommendation details.
- Parameters:
redshiftReservedInstances
- The Redshift reserved instances recommendation details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redshiftReservedInstances
default ResourceDetails.Builder redshiftReservedInstances(Consumer<RedshiftReservedInstances.Builder> redshiftReservedInstances) The Redshift reserved instances recommendation details.
This is a convenience method that creates an instance of theRedshiftReservedInstances.Builder
avoiding the need to create one manually viaRedshiftReservedInstances.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toredshiftReservedInstances(RedshiftReservedInstances)
.- Parameters:
redshiftReservedInstances
- a consumer that will call methods onRedshiftReservedInstances.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sageMakerSavingsPlans
The SageMaker Savings Plans recommendation details.
- Parameters:
sageMakerSavingsPlans
- The SageMaker Savings Plans recommendation details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sageMakerSavingsPlans
default ResourceDetails.Builder sageMakerSavingsPlans(Consumer<SageMakerSavingsPlans.Builder> sageMakerSavingsPlans) The SageMaker Savings Plans recommendation details.
This is a convenience method that creates an instance of theSageMakerSavingsPlans.Builder
avoiding the need to create one manually viaSageMakerSavingsPlans.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosageMakerSavingsPlans(SageMakerSavingsPlans)
.- Parameters:
sageMakerSavingsPlans
- a consumer that will call methods onSageMakerSavingsPlans.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-