Struct aws_sdk_memorydb::operation::purchase_reserved_nodes_offering::PurchaseReservedNodesOfferingInput
source · #[non_exhaustive]pub struct PurchaseReservedNodesOfferingInput {
pub reserved_nodes_offering_id: Option<String>,
pub reservation_id: Option<String>,
pub node_count: Option<i32>,
pub tags: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.reserved_nodes_offering_id: Option<String>
The ID of the reserved node offering to purchase.
reservation_id: Option<String>
A customer-specified identifier to track this reservation.
node_count: Option<i32>
The number of node instances to reserve.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
Implementations§
source§impl PurchaseReservedNodesOfferingInput
impl PurchaseReservedNodesOfferingInput
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 reservation_id(&self) -> Option<&str>
pub fn reservation_id(&self) -> Option<&str>
A customer-specified identifier to track this reservation.
sourcepub fn node_count(&self) -> Option<i32>
pub fn node_count(&self) -> Option<i32>
The number of node instances to reserve.
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl PurchaseReservedNodesOfferingInput
impl PurchaseReservedNodesOfferingInput
sourcepub fn builder() -> PurchaseReservedNodesOfferingInputBuilder
pub fn builder() -> PurchaseReservedNodesOfferingInputBuilder
Creates a new builder-style object to manufacture PurchaseReservedNodesOfferingInput
.
Trait Implementations§
source§impl Clone for PurchaseReservedNodesOfferingInput
impl Clone for PurchaseReservedNodesOfferingInput
source§fn clone(&self) -> PurchaseReservedNodesOfferingInput
fn clone(&self) -> PurchaseReservedNodesOfferingInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for PurchaseReservedNodesOfferingInput
impl PartialEq for PurchaseReservedNodesOfferingInput
source§fn eq(&self, other: &PurchaseReservedNodesOfferingInput) -> bool
fn eq(&self, other: &PurchaseReservedNodesOfferingInput) -> bool
self
and other
values to be equal, and is used
by ==
.