Interface RdsReservedInstancesConfiguration.Builder

    • Method Detail

      • accountScope

        RdsReservedInstancesConfiguration.Builder accountScope​(String accountScope)

        The account scope that you want your recommendations for.

        Parameters:
        accountScope - The account scope that you want your recommendations for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currentGeneration

        RdsReservedInstancesConfiguration.Builder currentGeneration​(String currentGeneration)

        Determines whether the recommendation is for a current generation instance.

        Parameters:
        currentGeneration - Determines whether the recommendation is for a current generation instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • databaseEdition

        RdsReservedInstancesConfiguration.Builder databaseEdition​(String databaseEdition)

        The database edition that the recommended reservation supports.

        Parameters:
        databaseEdition - The database edition that the recommended reservation supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • databaseEngine

        RdsReservedInstancesConfiguration.Builder databaseEngine​(String databaseEngine)

        The database engine that the recommended reservation supports.

        Parameters:
        databaseEngine - The database engine that the recommended reservation supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deploymentOption

        RdsReservedInstancesConfiguration.Builder deploymentOption​(String deploymentOption)

        Determines whether the recommendation is for a reservation in a single Availability Zone or a reservation with a backup in a second Availability Zone.

        Parameters:
        deploymentOption - Determines whether the recommendation is for a reservation in a single Availability Zone or a reservation with a backup in a second Availability Zone.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceFamily

        RdsReservedInstancesConfiguration.Builder instanceFamily​(String instanceFamily)

        The instance family of the recommended reservation.

        Parameters:
        instanceFamily - The instance family of the recommended reservation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceType

        RdsReservedInstancesConfiguration.Builder instanceType​(String instanceType)

        The type of instance that Amazon Web Services recommends.

        Parameters:
        instanceType - The type of instance that Amazon Web Services recommends.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • licenseModel

        RdsReservedInstancesConfiguration.Builder licenseModel​(String licenseModel)

        The license model that the recommended reservation supports.

        Parameters:
        licenseModel - The license model that the recommended reservation supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • monthlyRecurringCost

        RdsReservedInstancesConfiguration.Builder monthlyRecurringCost​(String monthlyRecurringCost)

        How much purchasing this instance costs you on a monthly basis.

        Parameters:
        monthlyRecurringCost - How much purchasing this instance costs you on a monthly basis.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • normalizedUnitsToPurchase

        RdsReservedInstancesConfiguration.Builder normalizedUnitsToPurchase​(String normalizedUnitsToPurchase)

        The number of normalized units that Amazon Web Services recommends that you purchase.

        Parameters:
        normalizedUnitsToPurchase - The number of normalized units that Amazon Web Services recommends that you purchase.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • numberOfInstancesToPurchase

        RdsReservedInstancesConfiguration.Builder numberOfInstancesToPurchase​(String numberOfInstancesToPurchase)

        The number of instances that Amazon Web Services recommends that you purchase.

        Parameters:
        numberOfInstancesToPurchase - The number of instances that Amazon Web Services recommends that you purchase.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • paymentOption

        RdsReservedInstancesConfiguration.Builder paymentOption​(String paymentOption)

        The payment option for the commitment.

        Parameters:
        paymentOption - The payment option for the commitment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • reservedInstancesRegion

        RdsReservedInstancesConfiguration.Builder reservedInstancesRegion​(String reservedInstancesRegion)

        The Amazon Web Services Region of the commitment.

        Parameters:
        reservedInstancesRegion - The Amazon Web Services Region of the commitment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • service

        RdsReservedInstancesConfiguration.Builder service​(String service)

        The service that you want your recommendations for.

        Parameters:
        service - The service that you want your recommendations for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sizeFlexEligible

        RdsReservedInstancesConfiguration.Builder sizeFlexEligible​(Boolean sizeFlexEligible)

        Determines whether the recommendation is size flexible.

        Parameters:
        sizeFlexEligible - Determines whether the recommendation is size flexible.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • term

        RdsReservedInstancesConfiguration.Builder term​(String term)

        The reserved instances recommendation term in years.

        Parameters:
        term - The reserved instances recommendation term in years.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • upfrontCost

        RdsReservedInstancesConfiguration.Builder upfrontCost​(String upfrontCost)

        How much purchasing this instance costs you upfront.

        Parameters:
        upfrontCost - How much purchasing this instance costs you upfront.
        Returns:
        Returns a reference to this object so that method calls can be chained together.