Class PurchaseReservedDBInstancesOfferingRequest

    • Constructor Detail

      • PurchaseReservedDBInstancesOfferingRequest

        public PurchaseReservedDBInstancesOfferingRequest()
        Default constructor for PurchaseReservedDBInstancesOfferingRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • PurchaseReservedDBInstancesOfferingRequest

        public PurchaseReservedDBInstancesOfferingRequest​(String reservedDBInstancesOfferingId)
        Constructs a new PurchaseReservedDBInstancesOfferingRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        reservedDBInstancesOfferingId - The ID of the Reserved DB instance offering to purchase.

        Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

    • Method Detail

      • setReservedDBInstancesOfferingId

        public void setReservedDBInstancesOfferingId​(String reservedDBInstancesOfferingId)

        The ID of the Reserved DB instance offering to purchase.

        Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

        Parameters:
        reservedDBInstancesOfferingId - The ID of the Reserved DB instance offering to purchase.

        Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

      • getReservedDBInstancesOfferingId

        public String getReservedDBInstancesOfferingId()

        The ID of the Reserved DB instance offering to purchase.

        Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

        Returns:
        The ID of the Reserved DB instance offering to purchase.

        Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

      • withReservedDBInstancesOfferingId

        public PurchaseReservedDBInstancesOfferingRequest withReservedDBInstancesOfferingId​(String reservedDBInstancesOfferingId)

        The ID of the Reserved DB instance offering to purchase.

        Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

        Parameters:
        reservedDBInstancesOfferingId - The ID of the Reserved DB instance offering to purchase.

        Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

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

        public void setReservedDBInstanceId​(String reservedDBInstanceId)

        Customer-specified identifier to track this reservation.

        Example: myreservationID

        Parameters:
        reservedDBInstanceId - Customer-specified identifier to track this reservation.

        Example: myreservationID

      • getReservedDBInstanceId

        public String getReservedDBInstanceId()

        Customer-specified identifier to track this reservation.

        Example: myreservationID

        Returns:
        Customer-specified identifier to track this reservation.

        Example: myreservationID

      • withReservedDBInstanceId

        public PurchaseReservedDBInstancesOfferingRequest withReservedDBInstanceId​(String reservedDBInstanceId)

        Customer-specified identifier to track this reservation.

        Example: myreservationID

        Parameters:
        reservedDBInstanceId - Customer-specified identifier to track this reservation.

        Example: myreservationID

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

        public void setDBInstanceCount​(Integer dBInstanceCount)

        The number of instances to reserve.

        Default: 1

        Parameters:
        dBInstanceCount - The number of instances to reserve.

        Default: 1

      • getDBInstanceCount

        public Integer getDBInstanceCount()

        The number of instances to reserve.

        Default: 1

        Returns:
        The number of instances to reserve.

        Default: 1

      • withDBInstanceCount

        public PurchaseReservedDBInstancesOfferingRequest withDBInstanceCount​(Integer dBInstanceCount)

        The number of instances to reserve.

        Default: 1

        Parameters:
        dBInstanceCount - The number of instances to reserve.

        Default: 1

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

        public List<Tag> getTags()
        Returns:
      • setTags

        public void setTags​(Collection<Tag> tags)
        Parameters:
        tags -
      • 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