Purchase

class Purchase

Describes the result of the purchase.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The currency in which the UpfrontPrice and HourlyPrice amounts are specified. At this time, the only supported currency is USD.

Link copied to clipboard

The duration of the reservation's term in seconds.

Link copied to clipboard

The IDs of the Dedicated Hosts associated with the reservation.

Link copied to clipboard

The ID of the reservation.

Link copied to clipboard

The hourly price of the reservation per hour.

Link copied to clipboard

The instance family on the Dedicated Host that the reservation can be associated with.

Link copied to clipboard

The payment option for the reservation.

Link copied to clipboard

The upfront price of the reservation.

Functions

Link copied to clipboard
inline fun copy(block: Purchase.Builder.() -> Unit = {}): Purchase
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String