HostReservation

Details about the Dedicated Host Reservation and associated Dedicated Hosts.

Types

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

Properties

Link copied to clipboard
val count: Int?

The number of Dedicated Hosts the reservation is associated with.

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 length of the reservation's term, specified in seconds. Can be 31536000 (1 year) | 94608000 (3 years).

Link copied to clipboard
val end: Instant?

The date and time that the reservation ends.

Link copied to clipboard

The IDs of the Dedicated Hosts associated with the reservation.

Link copied to clipboard

The ID of the reservation that specifies the associated Dedicated Hosts.

Link copied to clipboard

The hourly price of the reservation.

Link copied to clipboard

The instance family of the Dedicated Host Reservation. The instance family on the Dedicated Host must be the same in order for it to benefit from the reservation.

Link copied to clipboard

The ID of the reservation. This remains the same regardless of which Dedicated Hosts are associated with it.

Link copied to clipboard

The payment option selected for this reservation.

Link copied to clipboard

The date and time that the reservation started.

Link copied to clipboard

The state of the reservation.

Link copied to clipboard
val tags: List<Tag>?

Any tags assigned to the Dedicated Host Reservation.

Link copied to clipboard

The upfront price of the reservation.

Functions

Link copied to clipboard
inline fun copy(block: HostReservation.Builder.() -> Unit = {}): HostReservation
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