Interface RDSDBRecommendation.Builder

    • 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.
      • 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.

        Parameters:
        idle - This indicates if the RDS instance is idle or not.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Idle, Idle
      • idle

        RDSDBRecommendation.Builder idle​(Idle idle)

        This indicates if the RDS instance is idle or not.

        Parameters:
        idle - This indicates if the RDS instance is idle or not.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Idle, Idle
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)