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 ==.impl StructuralPartialEq for PurchaseReservedNodesOfferingInput
Auto Trait Implementations§
impl Freeze for PurchaseReservedNodesOfferingInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more