Interface ResourceDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceDetails.Builder,,ResourceDetails> SdkBuilder<ResourceDetails.Builder,,ResourceDetails> SdkPojo
- Enclosing class:
ResourceDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceDetails.BuildercomputeSavingsPlans(Consumer<ComputeSavingsPlans.Builder> computeSavingsPlans) The Compute Savings Plans recommendation details.computeSavingsPlans(ComputeSavingsPlans computeSavingsPlans) The Compute Savings Plans recommendation details.default ResourceDetails.BuilderebsVolume(Consumer<EbsVolume.Builder> ebsVolume) The Amazon Elastic Block Store volume recommendation details.The Amazon Elastic Block Store volume recommendation details.default ResourceDetails.Builderec2AutoScalingGroup(Consumer<Ec2AutoScalingGroup.Builder> ec2AutoScalingGroup) The EC2 Auto Scaling group recommendation details.ec2AutoScalingGroup(Ec2AutoScalingGroup ec2AutoScalingGroup) The EC2 Auto Scaling group recommendation details.default ResourceDetails.Builderec2Instance(Consumer<Ec2Instance.Builder> ec2Instance) The EC2 instance recommendation details.ec2Instance(Ec2Instance ec2Instance) The EC2 instance recommendation details.default ResourceDetails.Builderec2InstanceSavingsPlans(Consumer<Ec2InstanceSavingsPlans.Builder> ec2InstanceSavingsPlans) The EC2 instance Savings Plans recommendation details.ec2InstanceSavingsPlans(Ec2InstanceSavingsPlans ec2InstanceSavingsPlans) The EC2 instance Savings Plans recommendation details.default ResourceDetails.Builderec2ReservedInstances(Consumer<Ec2ReservedInstances.Builder> ec2ReservedInstances) The EC2 reserved instances recommendation details.ec2ReservedInstances(Ec2ReservedInstances ec2ReservedInstances) The EC2 reserved instances recommendation details.default ResourceDetails.BuilderecsService(Consumer<EcsService.Builder> ecsService) The ECS service recommendation details.ecsService(EcsService ecsService) The ECS service recommendation details.default ResourceDetails.BuilderelastiCacheReservedInstances(Consumer<ElastiCacheReservedInstances.Builder> elastiCacheReservedInstances) The ElastiCache reserved instances recommendation details.elastiCacheReservedInstances(ElastiCacheReservedInstances elastiCacheReservedInstances) The ElastiCache reserved instances recommendation details.default ResourceDetails.BuilderlambdaFunction(Consumer<LambdaFunction.Builder> lambdaFunction) The Lambda function recommendation details.lambdaFunction(LambdaFunction lambdaFunction) The Lambda function recommendation details.default ResourceDetails.BuilderopenSearchReservedInstances(Consumer<OpenSearchReservedInstances.Builder> openSearchReservedInstances) The OpenSearch reserved instances recommendation details.openSearchReservedInstances(OpenSearchReservedInstances openSearchReservedInstances) The OpenSearch reserved instances recommendation details.default ResourceDetails.BuilderrdsDbInstance(Consumer<RdsDbInstance.Builder> rdsDbInstance) The DB instance recommendation details.rdsDbInstance(RdsDbInstance rdsDbInstance) The DB instance recommendation details.default ResourceDetails.BuilderrdsDbInstanceStorage(Consumer<RdsDbInstanceStorage.Builder> rdsDbInstanceStorage) The DB instance storage recommendation details.rdsDbInstanceStorage(RdsDbInstanceStorage rdsDbInstanceStorage) The DB instance storage recommendation details.default ResourceDetails.BuilderrdsReservedInstances(Consumer<RdsReservedInstances.Builder> rdsReservedInstances) The RDS reserved instances recommendation details.rdsReservedInstances(RdsReservedInstances rdsReservedInstances) The RDS reserved instances recommendation details.default ResourceDetails.BuilderredshiftReservedInstances(Consumer<RedshiftReservedInstances.Builder> redshiftReservedInstances) The Redshift reserved instances recommendation details.redshiftReservedInstances(RedshiftReservedInstances redshiftReservedInstances) The Redshift reserved instances recommendation details.default ResourceDetails.BuildersageMakerSavingsPlans(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.Builderavoiding the need to create one manually viaLambdaFunction.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaEcsService.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaEc2Instance.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaEbsVolume.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEc2AutoScalingGroup.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaEc2ReservedInstances.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaRdsReservedInstances.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaElastiCacheReservedInstances.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaOpenSearchReservedInstances.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaRedshiftReservedInstances.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaEc2InstanceSavingsPlans.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaComputeSavingsPlans.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaSageMakerSavingsPlans.builder().When the
Consumercompletes,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:
-
rdsDbInstance
The DB instance recommendation details.
- Parameters:
rdsDbInstance- The DB instance recommendation details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rdsDbInstance
The DB instance recommendation details.
This is a convenience method that creates an instance of theRdsDbInstance.Builderavoiding the need to create one manually viaRdsDbInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tordsDbInstance(RdsDbInstance).- Parameters:
rdsDbInstance- a consumer that will call methods onRdsDbInstance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rdsDbInstanceStorage
The DB instance storage recommendation details.
- Parameters:
rdsDbInstanceStorage- The DB instance storage recommendation details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rdsDbInstanceStorage
default ResourceDetails.Builder rdsDbInstanceStorage(Consumer<RdsDbInstanceStorage.Builder> rdsDbInstanceStorage) The DB instance storage recommendation details.
This is a convenience method that creates an instance of theRdsDbInstanceStorage.Builderavoiding the need to create one manually viaRdsDbInstanceStorage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tordsDbInstanceStorage(RdsDbInstanceStorage).- Parameters:
rdsDbInstanceStorage- a consumer that will call methods onRdsDbInstanceStorage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-