Interface RDSDBRecommendation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RDSDBRecommendation.Builder,RDSDBRecommendation>,SdkBuilder<RDSDBRecommendation.Builder,RDSDBRecommendation>,SdkPojo
- Enclosing class:
- RDSDBRecommendation
public static interface RDSDBRecommendation.Builder extends SdkPojo, CopyableBuilder<RDSDBRecommendation.Builder,RDSDBRecommendation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RDSDBRecommendation.BuilderaccountId(String accountId)The Amazon Web Services account ID of the Amazon RDS.RDSDBRecommendation.BuildercurrentDBInstanceClass(String currentDBInstanceClass)The DB instance class of the current RDS instance.RDSDBRecommendation.BuildercurrentInstancePerformanceRisk(String currentInstancePerformanceRisk)The performance risk for the current DB instance.RDSDBRecommendation.BuildercurrentInstancePerformanceRisk(RDSCurrentInstancePerformanceRisk currentInstancePerformanceRisk)The performance risk for the current DB instance.default RDSDBRecommendation.BuildercurrentStorageConfiguration(Consumer<DBStorageConfiguration.Builder> currentStorageConfiguration)The configuration of the current RDS storage.RDSDBRecommendation.BuildercurrentStorageConfiguration(DBStorageConfiguration currentStorageConfiguration)The configuration of the current RDS storage.RDSDBRecommendation.BuilderdbClusterIdentifier(String dbClusterIdentifier)The identifier for DB cluster.default RDSDBRecommendation.BuildereffectiveRecommendationPreferences(Consumer<RDSEffectiveRecommendationPreferences.Builder> effectiveRecommendationPreferences)Describes the effective recommendation preferences for Amazon RDS.RDSDBRecommendation.BuildereffectiveRecommendationPreferences(RDSEffectiveRecommendationPreferences effectiveRecommendationPreferences)Describes the effective recommendation preferences for Amazon RDS.RDSDBRecommendation.Builderengine(String engine)The engine of the RDS instance.RDSDBRecommendation.BuilderengineVersion(String engineVersion)The database engine version.RDSDBRecommendation.Builderidle(String idle)This indicates if the RDS instance is idle or not.RDSDBRecommendation.Builderidle(Idle idle)This indicates if the RDS instance is idle or not.RDSDBRecommendation.BuilderinstanceFinding(String instanceFinding)The finding classification of an Amazon RDS instance.RDSDBRecommendation.BuilderinstanceFinding(RDSInstanceFinding instanceFinding)The finding classification of an Amazon RDS instance.RDSDBRecommendation.BuilderinstanceFindingReasonCodes(Collection<RDSInstanceFindingReasonCode> instanceFindingReasonCodes)The reason for the finding classification of an Amazon RDS instance.RDSDBRecommendation.BuilderinstanceFindingReasonCodes(RDSInstanceFindingReasonCode... instanceFindingReasonCodes)The reason for the finding classification of an Amazon RDS instance.RDSDBRecommendation.BuilderinstanceFindingReasonCodesWithStrings(String... instanceFindingReasonCodes)The reason for the finding classification of an Amazon RDS instance.RDSDBRecommendation.BuilderinstanceFindingReasonCodesWithStrings(Collection<String> instanceFindingReasonCodes)The reason for the finding classification of an Amazon RDS instance.RDSDBRecommendation.BuilderinstanceRecommendationOptions(Collection<RDSDBInstanceRecommendationOption> instanceRecommendationOptions)An array of objects that describe the recommendation options for the Amazon RDS instance.RDSDBRecommendation.BuilderinstanceRecommendationOptions(Consumer<RDSDBInstanceRecommendationOption.Builder>... instanceRecommendationOptions)An array of objects that describe the recommendation options for the Amazon RDS instance.RDSDBRecommendation.BuilderinstanceRecommendationOptions(RDSDBInstanceRecommendationOption... instanceRecommendationOptions)An array of objects that describe the recommendation options for the Amazon RDS instance.RDSDBRecommendation.BuilderlastRefreshTimestamp(Instant lastRefreshTimestamp)The timestamp of when the Amazon RDS recommendation was last generated.RDSDBRecommendation.BuilderlookbackPeriodInDays(Double lookbackPeriodInDays)The number of days the Amazon RDS utilization metrics were analyzed.RDSDBRecommendation.BuilderpromotionTier(Integer promotionTier)The promotion tier for the Aurora instance.RDSDBRecommendation.BuilderresourceArn(String resourceArn)The ARN of the current Amazon RDS.RDSDBRecommendation.BuilderstorageFinding(String storageFinding)The finding classification of Amazon RDS storage.RDSDBRecommendation.BuilderstorageFinding(RDSStorageFinding storageFinding)The finding classification of Amazon RDS storage.RDSDBRecommendation.BuilderstorageFindingReasonCodes(Collection<RDSStorageFindingReasonCode> storageFindingReasonCodes)The reason for the finding classification of Amazon RDS storage.RDSDBRecommendation.BuilderstorageFindingReasonCodes(RDSStorageFindingReasonCode... storageFindingReasonCodes)The reason for the finding classification of Amazon RDS storage.RDSDBRecommendation.BuilderstorageFindingReasonCodesWithStrings(String... storageFindingReasonCodes)The reason for the finding classification of Amazon RDS storage.RDSDBRecommendation.BuilderstorageFindingReasonCodesWithStrings(Collection<String> storageFindingReasonCodes)The reason for the finding classification of Amazon RDS storage.RDSDBRecommendation.BuilderstorageRecommendationOptions(Collection<RDSDBStorageRecommendationOption> storageRecommendationOptions)An array of objects that describe the recommendation options for Amazon RDS storage.RDSDBRecommendation.BuilderstorageRecommendationOptions(Consumer<RDSDBStorageRecommendationOption.Builder>... storageRecommendationOptions)An array of objects that describe the recommendation options for Amazon RDS storage.RDSDBRecommendation.BuilderstorageRecommendationOptions(RDSDBStorageRecommendationOption... storageRecommendationOptions)An array of objects that describe the recommendation options for Amazon RDS storage.RDSDBRecommendation.Buildertags(Collection<Tag> tags)A list of tags assigned to your Amazon RDS recommendations.RDSDBRecommendation.Buildertags(Consumer<Tag.Builder>... tags)A list of tags assigned to your Amazon RDS recommendations.RDSDBRecommendation.Buildertags(Tag... tags)A list of tags assigned to your Amazon RDS recommendations.RDSDBRecommendation.BuilderutilizationMetrics(Collection<RDSDBUtilizationMetric> utilizationMetrics)An array of objects that describe the utilization metrics of the Amazon RDS.RDSDBRecommendation.BuilderutilizationMetrics(Consumer<RDSDBUtilizationMetric.Builder>... utilizationMetrics)An array of objects that describe the utilization metrics of the Amazon RDS.RDSDBRecommendation.BuilderutilizationMetrics(RDSDBUtilizationMetric... utilizationMetrics)An array of objects that describe the utilization metrics of the Amazon RDS.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
resourceArn
RDSDBRecommendation.Builder resourceArn(String resourceArn)
The ARN of the current Amazon RDS.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}- Parameters:
resourceArn- The ARN of the current Amazon RDS.The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
RDSDBRecommendation.Builder accountId(String accountId)
The Amazon Web Services account ID of the Amazon RDS.
- Parameters:
accountId- The Amazon Web Services account ID of the Amazon RDS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engine
RDSDBRecommendation.Builder engine(String engine)
The engine of the RDS instance.
- Parameters:
engine- The engine of the RDS instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
RDSDBRecommendation.Builder engineVersion(String engineVersion)
The database engine version.
- Parameters:
engineVersion- The database engine version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
promotionTier
RDSDBRecommendation.Builder promotionTier(Integer promotionTier)
The promotion tier for the Aurora instance.
- Parameters:
promotionTier- The promotion tier for the Aurora instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentDBInstanceClass
RDSDBRecommendation.Builder currentDBInstanceClass(String currentDBInstanceClass)
The DB instance class of the current RDS instance.
- Parameters:
currentDBInstanceClass- The DB instance class of the current RDS instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentStorageConfiguration
RDSDBRecommendation.Builder currentStorageConfiguration(DBStorageConfiguration currentStorageConfiguration)
The configuration of the current RDS storage.
- Parameters:
currentStorageConfiguration- The configuration of the current RDS storage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentStorageConfiguration
default RDSDBRecommendation.Builder currentStorageConfiguration(Consumer<DBStorageConfiguration.Builder> currentStorageConfiguration)
The configuration of the current RDS storage.
This is a convenience method that creates an instance of theDBStorageConfiguration.Builderavoiding the need to create one manually viaDBStorageConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocurrentStorageConfiguration(DBStorageConfiguration).- Parameters:
currentStorageConfiguration- a consumer that will call methods onDBStorageConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
currentStorageConfiguration(DBStorageConfiguration)
-
dbClusterIdentifier
RDSDBRecommendation.Builder dbClusterIdentifier(String dbClusterIdentifier)
The identifier for DB cluster.
- Parameters:
dbClusterIdentifier- The identifier for DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idle
RDSDBRecommendation.Builder idle(String idle)
This indicates if the RDS instance is idle or not.
-
idle
RDSDBRecommendation.Builder idle(Idle idle)
This indicates if the RDS instance is idle or not.
-
instanceFinding
RDSDBRecommendation.Builder instanceFinding(String instanceFinding)
The finding classification of an Amazon RDS instance.
Findings for Amazon RDS instance include:
-
Underprovisioned— When Compute Optimizer detects that there’s not enough resource specifications, an Amazon RDS is considered under-provisioned. -
Overprovisioned— When Compute Optimizer detects that there’s excessive resource specifications, an Amazon RDS is considered over-provisioned. -
Optimized— When the specifications of your Amazon RDS instance meet the performance requirements of your workload, the service is considered optimized.
- Parameters:
instanceFinding- The finding classification of an Amazon RDS instance.Findings for Amazon RDS instance include:
-
Underprovisioned— When Compute Optimizer detects that there’s not enough resource specifications, an Amazon RDS is considered under-provisioned. -
Overprovisioned— When Compute Optimizer detects that there’s excessive resource specifications, an Amazon RDS is considered over-provisioned. -
Optimized— When the specifications of your Amazon RDS instance meet the performance requirements of your workload, the service is considered optimized.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RDSInstanceFinding,RDSInstanceFinding
-
-
instanceFinding
RDSDBRecommendation.Builder instanceFinding(RDSInstanceFinding instanceFinding)
The finding classification of an Amazon RDS instance.
Findings for Amazon RDS instance include:
-
Underprovisioned— When Compute Optimizer detects that there’s not enough resource specifications, an Amazon RDS is considered under-provisioned. -
Overprovisioned— When Compute Optimizer detects that there’s excessive resource specifications, an Amazon RDS is considered over-provisioned. -
Optimized— When the specifications of your Amazon RDS instance meet the performance requirements of your workload, the service is considered optimized.
- Parameters:
instanceFinding- The finding classification of an Amazon RDS instance.Findings for Amazon RDS instance include:
-
Underprovisioned— When Compute Optimizer detects that there’s not enough resource specifications, an Amazon RDS is considered under-provisioned. -
Overprovisioned— When Compute Optimizer detects that there’s excessive resource specifications, an Amazon RDS is considered over-provisioned. -
Optimized— When the specifications of your Amazon RDS instance meet the performance requirements of your workload, the service is considered optimized.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RDSInstanceFinding,RDSInstanceFinding
-
-
storageFinding
RDSDBRecommendation.Builder storageFinding(String storageFinding)
The finding classification of Amazon RDS storage.
Findings for Amazon RDS instance include:
-
Underprovisioned— When Compute Optimizer detects that there’s not enough storage, an Amazon RDS is considered under-provisioned. -
Overprovisioned— When Compute Optimizer detects that there’s excessive storage, an Amazon RDS is considered over-provisioned. -
Optimized— When the storage of your Amazon RDS meet the performance requirements of your workload, the service is considered optimized.
- Parameters:
storageFinding- The finding classification of Amazon RDS storage.Findings for Amazon RDS instance include:
-
Underprovisioned— When Compute Optimizer detects that there’s not enough storage, an Amazon RDS is considered under-provisioned. -
Overprovisioned— When Compute Optimizer detects that there’s excessive storage, an Amazon RDS is considered over-provisioned. -
Optimized— When the storage of your Amazon RDS meet the performance requirements of your workload, the service is considered optimized.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RDSStorageFinding,RDSStorageFinding
-
-
storageFinding
RDSDBRecommendation.Builder storageFinding(RDSStorageFinding storageFinding)
The finding classification of Amazon RDS storage.
Findings for Amazon RDS instance include:
-
Underprovisioned— When Compute Optimizer detects that there’s not enough storage, an Amazon RDS is considered under-provisioned. -
Overprovisioned— When Compute Optimizer detects that there’s excessive storage, an Amazon RDS is considered over-provisioned. -
Optimized— When the storage of your Amazon RDS meet the performance requirements of your workload, the service is considered optimized.
- Parameters:
storageFinding- The finding classification of Amazon RDS storage.Findings for Amazon RDS instance include:
-
Underprovisioned— When Compute Optimizer detects that there’s not enough storage, an Amazon RDS is considered under-provisioned. -
Overprovisioned— When Compute Optimizer detects that there’s excessive storage, an Amazon RDS is considered over-provisioned. -
Optimized— When the storage of your Amazon RDS meet the performance requirements of your workload, the service is considered optimized.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RDSStorageFinding,RDSStorageFinding
-
-
instanceFindingReasonCodesWithStrings
RDSDBRecommendation.Builder instanceFindingReasonCodesWithStrings(Collection<String> instanceFindingReasonCodes)
The reason for the finding classification of an Amazon RDS instance.
- Parameters:
instanceFindingReasonCodes- The reason for the finding classification of an Amazon RDS instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFindingReasonCodesWithStrings
RDSDBRecommendation.Builder instanceFindingReasonCodesWithStrings(String... instanceFindingReasonCodes)
The reason for the finding classification of an Amazon RDS instance.
- Parameters:
instanceFindingReasonCodes- The reason for the finding classification of an Amazon RDS instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFindingReasonCodes
RDSDBRecommendation.Builder instanceFindingReasonCodes(Collection<RDSInstanceFindingReasonCode> instanceFindingReasonCodes)
The reason for the finding classification of an Amazon RDS instance.
- Parameters:
instanceFindingReasonCodes- The reason for the finding classification of an Amazon RDS instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFindingReasonCodes
RDSDBRecommendation.Builder instanceFindingReasonCodes(RDSInstanceFindingReasonCode... instanceFindingReasonCodes)
The reason for the finding classification of an Amazon RDS instance.
- Parameters:
instanceFindingReasonCodes- The reason for the finding classification of an Amazon RDS instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentInstancePerformanceRisk
RDSDBRecommendation.Builder currentInstancePerformanceRisk(String currentInstancePerformanceRisk)
The performance risk for the current DB instance.
- Parameters:
currentInstancePerformanceRisk- The performance risk for the current DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RDSCurrentInstancePerformanceRisk,RDSCurrentInstancePerformanceRisk
-
currentInstancePerformanceRisk
RDSDBRecommendation.Builder currentInstancePerformanceRisk(RDSCurrentInstancePerformanceRisk currentInstancePerformanceRisk)
The performance risk for the current DB instance.
- Parameters:
currentInstancePerformanceRisk- The performance risk for the current DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RDSCurrentInstancePerformanceRisk,RDSCurrentInstancePerformanceRisk
-
storageFindingReasonCodesWithStrings
RDSDBRecommendation.Builder storageFindingReasonCodesWithStrings(Collection<String> storageFindingReasonCodes)
The reason for the finding classification of Amazon RDS storage.
- Parameters:
storageFindingReasonCodes- The reason for the finding classification of Amazon RDS storage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageFindingReasonCodesWithStrings
RDSDBRecommendation.Builder storageFindingReasonCodesWithStrings(String... storageFindingReasonCodes)
The reason for the finding classification of Amazon RDS storage.
- Parameters:
storageFindingReasonCodes- The reason for the finding classification of Amazon RDS storage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageFindingReasonCodes
RDSDBRecommendation.Builder storageFindingReasonCodes(Collection<RDSStorageFindingReasonCode> storageFindingReasonCodes)
The reason for the finding classification of Amazon RDS storage.
- Parameters:
storageFindingReasonCodes- The reason for the finding classification of Amazon RDS storage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageFindingReasonCodes
RDSDBRecommendation.Builder storageFindingReasonCodes(RDSStorageFindingReasonCode... storageFindingReasonCodes)
The reason for the finding classification of Amazon RDS storage.
- Parameters:
storageFindingReasonCodes- The reason for the finding classification of Amazon RDS storage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceRecommendationOptions
RDSDBRecommendation.Builder instanceRecommendationOptions(Collection<RDSDBInstanceRecommendationOption> instanceRecommendationOptions)
An array of objects that describe the recommendation options for the Amazon RDS instance.
- Parameters:
instanceRecommendationOptions- An array of objects that describe the recommendation options for the Amazon RDS instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceRecommendationOptions
RDSDBRecommendation.Builder instanceRecommendationOptions(RDSDBInstanceRecommendationOption... instanceRecommendationOptions)
An array of objects that describe the recommendation options for the Amazon RDS instance.
- Parameters:
instanceRecommendationOptions- An array of objects that describe the recommendation options for the Amazon RDS instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceRecommendationOptions
RDSDBRecommendation.Builder instanceRecommendationOptions(Consumer<RDSDBInstanceRecommendationOption.Builder>... instanceRecommendationOptions)
An array of objects that describe the recommendation options for the Amazon RDS instance.
This is a convenience method that creates an instance of theRDSDBInstanceRecommendationOption.Builderavoiding the need to create one manually viaRDSDBInstanceRecommendationOption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instanceRecommendationOptions(List.) - Parameters:
instanceRecommendationOptions- a consumer that will call methods onRDSDBInstanceRecommendationOption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#instanceRecommendationOptions(java.util.Collection)
-
storageRecommendationOptions
RDSDBRecommendation.Builder storageRecommendationOptions(Collection<RDSDBStorageRecommendationOption> storageRecommendationOptions)
An array of objects that describe the recommendation options for Amazon RDS storage.
- Parameters:
storageRecommendationOptions- An array of objects that describe the recommendation options for Amazon RDS storage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageRecommendationOptions
RDSDBRecommendation.Builder storageRecommendationOptions(RDSDBStorageRecommendationOption... storageRecommendationOptions)
An array of objects that describe the recommendation options for Amazon RDS storage.
- Parameters:
storageRecommendationOptions- An array of objects that describe the recommendation options for Amazon RDS storage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageRecommendationOptions
RDSDBRecommendation.Builder storageRecommendationOptions(Consumer<RDSDBStorageRecommendationOption.Builder>... storageRecommendationOptions)
An array of objects that describe the recommendation options for Amazon RDS storage.
This is a convenience method that creates an instance of theRDSDBStorageRecommendationOption.Builderavoiding the need to create one manually viaRDSDBStorageRecommendationOption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#storageRecommendationOptions(List.) - Parameters:
storageRecommendationOptions- a consumer that will call methods onRDSDBStorageRecommendationOption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#storageRecommendationOptions(java.util.Collection)
-
utilizationMetrics
RDSDBRecommendation.Builder utilizationMetrics(Collection<RDSDBUtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the Amazon RDS.
- Parameters:
utilizationMetrics- An array of objects that describe the utilization metrics of the Amazon RDS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
utilizationMetrics
RDSDBRecommendation.Builder utilizationMetrics(RDSDBUtilizationMetric... utilizationMetrics)
An array of objects that describe the utilization metrics of the Amazon RDS.
- Parameters:
utilizationMetrics- An array of objects that describe the utilization metrics of the Amazon RDS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
utilizationMetrics
RDSDBRecommendation.Builder utilizationMetrics(Consumer<RDSDBUtilizationMetric.Builder>... utilizationMetrics)
An array of objects that describe the utilization metrics of the Amazon RDS.
This is a convenience method that creates an instance of theRDSDBUtilizationMetric.Builderavoiding the need to create one manually viaRDSDBUtilizationMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#utilizationMetrics(List.) - Parameters:
utilizationMetrics- a consumer that will call methods onRDSDBUtilizationMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#utilizationMetrics(java.util.Collection)
-
effectiveRecommendationPreferences
RDSDBRecommendation.Builder effectiveRecommendationPreferences(RDSEffectiveRecommendationPreferences effectiveRecommendationPreferences)
Describes the effective recommendation preferences for Amazon RDS.
- Parameters:
effectiveRecommendationPreferences- Describes the effective recommendation preferences for Amazon RDS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveRecommendationPreferences
default RDSDBRecommendation.Builder effectiveRecommendationPreferences(Consumer<RDSEffectiveRecommendationPreferences.Builder> effectiveRecommendationPreferences)
Describes the effective recommendation preferences for Amazon RDS.
This is a convenience method that creates an instance of theRDSEffectiveRecommendationPreferences.Builderavoiding the need to create one manually viaRDSEffectiveRecommendationPreferences.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeffectiveRecommendationPreferences(RDSEffectiveRecommendationPreferences).- Parameters:
effectiveRecommendationPreferences- a consumer that will call methods onRDSEffectiveRecommendationPreferences.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
effectiveRecommendationPreferences(RDSEffectiveRecommendationPreferences)
-
lookbackPeriodInDays
RDSDBRecommendation.Builder lookbackPeriodInDays(Double lookbackPeriodInDays)
The number of days the Amazon RDS utilization metrics were analyzed.
- Parameters:
lookbackPeriodInDays- The number of days the Amazon RDS utilization metrics were analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRefreshTimestamp
RDSDBRecommendation.Builder lastRefreshTimestamp(Instant lastRefreshTimestamp)
The timestamp of when the Amazon RDS recommendation was last generated.
- Parameters:
lastRefreshTimestamp- The timestamp of when the Amazon RDS recommendation was last generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
RDSDBRecommendation.Builder tags(Collection<Tag> tags)
A list of tags assigned to your Amazon RDS recommendations.
- Parameters:
tags- A list of tags assigned to your Amazon RDS recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
RDSDBRecommendation.Builder tags(Tag... tags)
A list of tags assigned to your Amazon RDS recommendations.
- Parameters:
tags- A list of tags assigned to your Amazon RDS recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
RDSDBRecommendation.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags assigned to your Amazon RDS recommendations.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-