Interface ReservedDBInstance.Builder

    • Method Detail

      • reservedDBInstanceId

        ReservedDBInstance.Builder reservedDBInstanceId​(String reservedDBInstanceId)

        The unique identifier for the reservation.

        Parameters:
        reservedDBInstanceId - The unique identifier for the reservation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • reservedDBInstancesOfferingId

        ReservedDBInstance.Builder reservedDBInstancesOfferingId​(String reservedDBInstancesOfferingId)

        The offering identifier.

        Parameters:
        reservedDBInstancesOfferingId - The offering identifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dbInstanceClass

        ReservedDBInstance.Builder dbInstanceClass​(String dbInstanceClass)

        The DB instance class for the reserved DB instance.

        Parameters:
        dbInstanceClass - The DB instance class for the reserved DB instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTime

        ReservedDBInstance.Builder startTime​(Instant startTime)

        The time the reservation started.

        Parameters:
        startTime - The time the reservation started.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • duration

        ReservedDBInstance.Builder duration​(Integer duration)

        The duration of the reservation in seconds.

        Parameters:
        duration - The duration of the reservation in seconds.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fixedPrice

        ReservedDBInstance.Builder fixedPrice​(Double fixedPrice)

        The fixed price charged for this reserved DB instance.

        Parameters:
        fixedPrice - The fixed price charged for this reserved DB instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • usagePrice

        ReservedDBInstance.Builder usagePrice​(Double usagePrice)

        The hourly price charged for this reserved DB instance.

        Parameters:
        usagePrice - The hourly price charged for this reserved DB instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currencyCode

        ReservedDBInstance.Builder currencyCode​(String currencyCode)

        The currency code for the reserved DB instance.

        Parameters:
        currencyCode - The currency code for the reserved DB instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dbInstanceCount

        ReservedDBInstance.Builder dbInstanceCount​(Integer dbInstanceCount)

        The number of reserved DB instances.

        Parameters:
        dbInstanceCount - The number of reserved DB instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • productDescription

        ReservedDBInstance.Builder productDescription​(String productDescription)

        The description of the reserved DB instance.

        Parameters:
        productDescription - The description of the reserved DB instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • offeringType

        ReservedDBInstance.Builder offeringType​(String offeringType)

        The offering type of this reserved DB instance.

        Parameters:
        offeringType - The offering type of this reserved DB instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • multiAZ

        ReservedDBInstance.Builder multiAZ​(Boolean multiAZ)

        Indicates whether the reservation applies to Multi-AZ deployments.

        Parameters:
        multiAZ - Indicates whether the reservation applies to Multi-AZ deployments.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        ReservedDBInstance.Builder state​(String state)

        The state of the reserved DB instance.

        Parameters:
        state - The state of the reserved DB instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recurringCharges

        ReservedDBInstance.Builder recurringCharges​(Collection<RecurringCharge> recurringCharges)

        The recurring price charged to run this reserved DB instance.

        Parameters:
        recurringCharges - The recurring price charged to run this reserved DB instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recurringCharges

        ReservedDBInstance.Builder recurringCharges​(RecurringCharge... recurringCharges)

        The recurring price charged to run this reserved DB instance.

        Parameters:
        recurringCharges - The recurring price charged to run this reserved DB instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • reservedDBInstanceArn

        ReservedDBInstance.Builder reservedDBInstanceArn​(String reservedDBInstanceArn)

        The Amazon Resource Name (ARN) for the reserved DB instance.

        Parameters:
        reservedDBInstanceArn - The Amazon Resource Name (ARN) for the reserved DB instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • leaseId

        ReservedDBInstance.Builder leaseId​(String leaseId)

        The unique identifier for the lease associated with the reserved DB instance.

        Amazon Web Services Support might request the lease ID for an issue related to a reserved DB instance.

        Parameters:
        leaseId - The unique identifier for the lease associated with the reserved DB instance.

        Amazon Web Services Support might request the lease ID for an issue related to a reserved DB instance.

        Returns:
        Returns a reference to this object so that method calls can be chained together.