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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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.
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
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 PartialEq<PurchaseReservedNodesOfferingInput> for PurchaseReservedNodesOfferingInput
impl PartialEq<PurchaseReservedNodesOfferingInput> for PurchaseReservedNodesOfferingInput
source§fn eq(&self, other: &PurchaseReservedNodesOfferingInput) -> bool
fn eq(&self, other: &PurchaseReservedNodesOfferingInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PurchaseReservedNodesOfferingInput
Auto Trait Implementations§
impl RefUnwindSafe for PurchaseReservedNodesOfferingInput
impl Send for PurchaseReservedNodesOfferingInput
impl Sync for PurchaseReservedNodesOfferingInput
impl Unpin for PurchaseReservedNodesOfferingInput
impl UnwindSafe for PurchaseReservedNodesOfferingInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more