Interface ReservedNode.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ReservedNode.Builder,ReservedNode>, SdkBuilder<ReservedNode.Builder,ReservedNode>, SdkPojo
Enclosing class:
ReservedNode

public static interface ReservedNode.Builder extends SdkPojo, CopyableBuilder<ReservedNode.Builder,ReservedNode>
  • Method Details

    • 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

      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.
    • recurringCharges

      ReservedNode.Builder recurringCharges(Consumer<RecurringCharge.Builder>... recurringCharges)

      The recurring price charged to run this reserved node.

      This is a convenience method that creates an instance of the RecurringCharge.Builder avoiding the need to create one manually via RecurringCharge.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to recurringCharges(List<RecurringCharge>).

      Parameters:
      recurringCharges - a consumer that will call methods on RecurringCharge.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.