Struct aws_sdk_memorydb::model::ReservedNode
source · #[non_exhaustive]pub struct ReservedNode { /* private fields */ }
Expand description
Represents the output of a PurchaseReservedNodesOffering
operation.
Implementations§
source§impl ReservedNode
impl ReservedNode
sourcepub fn reservation_id(&self) -> Option<&str>
pub fn reservation_id(&self) -> Option<&str>
A customer-specified identifier to track this reservation.
sourcepub fn reserved_nodes_offering_id(&self) -> Option<&str>
pub fn reserved_nodes_offering_id(&self) -> Option<&str>
The ID of the reserved node offering to purchase.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The time the reservation started.
sourcepub fn fixed_price(&self) -> f64
pub fn fixed_price(&self) -> f64
The fixed price charged for this reserved node.
sourcepub fn node_count(&self) -> i32
pub fn node_count(&self) -> i32
The number of nodes that have been reserved.
sourcepub fn offering_type(&self) -> Option<&str>
pub fn offering_type(&self) -> Option<&str>
The offering type of this reserved node.
sourcepub fn recurring_charges(&self) -> Option<&[RecurringCharge]>
pub fn recurring_charges(&self) -> Option<&[RecurringCharge]>
The recurring price charged to run this reserved node.
source§impl ReservedNode
impl ReservedNode
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReservedNode
.
Trait Implementations§
source§impl Clone for ReservedNode
impl Clone for ReservedNode
source§fn clone(&self) -> ReservedNode
fn clone(&self) -> ReservedNode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReservedNode
impl Debug for ReservedNode
source§impl PartialEq<ReservedNode> for ReservedNode
impl PartialEq<ReservedNode> for ReservedNode
source§fn eq(&self, other: &ReservedNode) -> bool
fn eq(&self, other: &ReservedNode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.