Class ReservedDBInstance

    • Constructor Detail

      • ReservedDBInstance

        public ReservedDBInstance()
    • Method Detail

      • setReservedDBInstanceId

        public void setReservedDBInstanceId​(String reservedDBInstanceId)

        The unique identifier for the reservation.

        Parameters:
        reservedDBInstanceId - The unique identifier for the reservation.
      • getReservedDBInstanceId

        public String getReservedDBInstanceId()

        The unique identifier for the reservation.

        Returns:
        The unique identifier for the reservation.
      • withReservedDBInstanceId

        public ReservedDBInstance withReservedDBInstanceId​(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.
      • setReservedDBInstancesOfferingId

        public void setReservedDBInstancesOfferingId​(String reservedDBInstancesOfferingId)

        The offering identifier.

        Parameters:
        reservedDBInstancesOfferingId - The offering identifier.
      • getReservedDBInstancesOfferingId

        public String getReservedDBInstancesOfferingId()

        The offering identifier.

        Returns:
        The offering identifier.
      • withReservedDBInstancesOfferingId

        public ReservedDBInstance withReservedDBInstancesOfferingId​(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.
      • setDBInstanceClass

        public void setDBInstanceClass​(String dBInstanceClass)

        The DB instance class for the reserved DB instance.

        Parameters:
        dBInstanceClass - The DB instance class for the reserved DB instance.
      • getDBInstanceClass

        public String getDBInstanceClass()

        The DB instance class for the reserved DB instance.

        Returns:
        The DB instance class for the reserved DB instance.
      • withDBInstanceClass

        public ReservedDBInstance withDBInstanceClass​(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.
      • setStartTime

        public void setStartTime​(Date startTime)

        The time the reservation started.

        Parameters:
        startTime - The time the reservation started.
      • getStartTime

        public Date getStartTime()

        The time the reservation started.

        Returns:
        The time the reservation started.
      • withStartTime

        public ReservedDBInstance withStartTime​(Date 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.
      • setDuration

        public void setDuration​(Integer duration)

        The duration of the reservation in seconds.

        Parameters:
        duration - The duration of the reservation in seconds.
      • getDuration

        public Integer getDuration()

        The duration of the reservation in seconds.

        Returns:
        The duration of the reservation in seconds.
      • withDuration

        public ReservedDBInstance withDuration​(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.
      • setFixedPrice

        public void setFixedPrice​(Double fixedPrice)

        The fixed price charged for this reserved DB instance.

        Parameters:
        fixedPrice - The fixed price charged for this reserved DB instance.
      • getFixedPrice

        public Double getFixedPrice()

        The fixed price charged for this reserved DB instance.

        Returns:
        The fixed price charged for this reserved DB instance.
      • withFixedPrice

        public ReservedDBInstance withFixedPrice​(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.
      • setUsagePrice

        public void setUsagePrice​(Double usagePrice)

        The hourly price charged for this reserved DB instance.

        Parameters:
        usagePrice - The hourly price charged for this reserved DB instance.
      • getUsagePrice

        public Double getUsagePrice()

        The hourly price charged for this reserved DB instance.

        Returns:
        The hourly price charged for this reserved DB instance.
      • withUsagePrice

        public ReservedDBInstance withUsagePrice​(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.
      • setCurrencyCode

        public void setCurrencyCode​(String currencyCode)

        The currency code for the reserved DB instance.

        Parameters:
        currencyCode - The currency code for the reserved DB instance.
      • getCurrencyCode

        public String getCurrencyCode()

        The currency code for the reserved DB instance.

        Returns:
        The currency code for the reserved DB instance.
      • withCurrencyCode

        public ReservedDBInstance withCurrencyCode​(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.
      • setDBInstanceCount

        public void setDBInstanceCount​(Integer dBInstanceCount)

        The number of reserved DB instances.

        Parameters:
        dBInstanceCount - The number of reserved DB instances.
      • getDBInstanceCount

        public Integer getDBInstanceCount()

        The number of reserved DB instances.

        Returns:
        The number of reserved DB instances.
      • withDBInstanceCount

        public ReservedDBInstance withDBInstanceCount​(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.
      • setProductDescription

        public void setProductDescription​(String productDescription)

        The description of the reserved DB instance.

        Parameters:
        productDescription - The description of the reserved DB instance.
      • getProductDescription

        public String getProductDescription()

        The description of the reserved DB instance.

        Returns:
        The description of the reserved DB instance.
      • withProductDescription

        public ReservedDBInstance withProductDescription​(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.
      • setOfferingType

        public void setOfferingType​(String offeringType)

        The offering type of this reserved DB instance.

        Parameters:
        offeringType - The offering type of this reserved DB instance.
      • getOfferingType

        public String getOfferingType()

        The offering type of this reserved DB instance.

        Returns:
        The offering type of this reserved DB instance.
      • withOfferingType

        public ReservedDBInstance withOfferingType​(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.
      • setMultiAZ

        public void setMultiAZ​(Boolean multiAZ)

        Indicates if the reservation applies to Multi-AZ deployments.

        Parameters:
        multiAZ - Indicates if the reservation applies to Multi-AZ deployments.
      • getMultiAZ

        public Boolean getMultiAZ()

        Indicates if the reservation applies to Multi-AZ deployments.

        Returns:
        Indicates if the reservation applies to Multi-AZ deployments.
      • withMultiAZ

        public ReservedDBInstance withMultiAZ​(Boolean multiAZ)

        Indicates if the reservation applies to Multi-AZ deployments.

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

        public Boolean isMultiAZ()

        Indicates if the reservation applies to Multi-AZ deployments.

        Returns:
        Indicates if the reservation applies to Multi-AZ deployments.
      • setState

        public void setState​(String state)

        The state of the reserved DB instance.

        Parameters:
        state - The state of the reserved DB instance.
      • getState

        public String getState()

        The state of the reserved DB instance.

        Returns:
        The state of the reserved DB instance.
      • withState

        public ReservedDBInstance withState​(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.
      • getRecurringCharges

        public List<RecurringCharge> getRecurringCharges()

        The recurring price charged to run this reserved DB instance.

        Returns:
        The recurring price charged to run this reserved DB instance.
      • setRecurringCharges

        public void setRecurringCharges​(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.
      • withRecurringCharges

        public ReservedDBInstance withRecurringCharges​(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.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object