Interface ReservedNode.Builder

    • Method Detail

      • reservationId

        ReservedNode.Builder reservationId​(String reservationId)

        A customer-specified identifier to track this reservation.

        Parameters:
        reservationId - A customer-specified identifier to track this reservation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • reservedNodesOfferingId

        ReservedNode.Builder reservedNodesOfferingId​(String reservedNodesOfferingId)

        The ID of the reserved node offering to purchase.

        Parameters:
        reservedNodesOfferingId - The ID of the reserved node offering to purchase.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nodeType

        ReservedNode.Builder nodeType​(String nodeType)

        The node type for the reserved nodes.

        Parameters:
        nodeType - The node type for the reserved nodes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTime

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

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

        ReservedNode.Builder fixedPrice​(Double fixedPrice)

        The fixed price charged for this reserved node.

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

        ReservedNode.Builder nodeCount​(Integer nodeCount)

        The number of nodes that have been reserved.

        Parameters:
        nodeCount - The number of nodes that have been reserved.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • offeringType

        ReservedNode.Builder offeringType​(String offeringType)

        The offering type of this reserved node.

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

        ReservedNode.Builder state​(String state)

        The state of the reserved node.

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

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

        The recurring price charged to run this reserved node.

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

        ReservedNode.Builder recurringCharges​(RecurringCharge... recurringCharges)

        The recurring price charged to run this reserved node.

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

        ReservedNode.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the reserved node.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the reserved node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.