Struct aws_sdk_opensearch::operation::purchase_reserved_instance_offering::PurchaseReservedInstanceOfferingInput
source · #[non_exhaustive]pub struct PurchaseReservedInstanceOfferingInput {
pub reserved_instance_offering_id: Option<String>,
pub reservation_name: Option<String>,
pub instance_count: Option<i32>,
}Expand description
Container for request parameters to the PurchaseReservedInstanceOffering operation.
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_instance_offering_id: Option<String>The ID of the Reserved Instance offering to purchase.
reservation_name: Option<String>A customer-specified identifier to track this reservation.
instance_count: Option<i32>The number of OpenSearch instances to reserve.
Implementations§
source§impl PurchaseReservedInstanceOfferingInput
impl PurchaseReservedInstanceOfferingInput
sourcepub fn reserved_instance_offering_id(&self) -> Option<&str>
pub fn reserved_instance_offering_id(&self) -> Option<&str>
The ID of the Reserved Instance offering to purchase.
sourcepub fn reservation_name(&self) -> Option<&str>
pub fn reservation_name(&self) -> Option<&str>
A customer-specified identifier to track this reservation.
sourcepub fn instance_count(&self) -> Option<i32>
pub fn instance_count(&self) -> Option<i32>
The number of OpenSearch instances to reserve.
source§impl PurchaseReservedInstanceOfferingInput
impl PurchaseReservedInstanceOfferingInput
sourcepub fn builder() -> PurchaseReservedInstanceOfferingInputBuilder
pub fn builder() -> PurchaseReservedInstanceOfferingInputBuilder
Creates a new builder-style object to manufacture PurchaseReservedInstanceOfferingInput.
Trait Implementations§
source§impl Clone for PurchaseReservedInstanceOfferingInput
impl Clone for PurchaseReservedInstanceOfferingInput
source§fn clone(&self) -> PurchaseReservedInstanceOfferingInput
fn clone(&self) -> PurchaseReservedInstanceOfferingInput
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 for PurchaseReservedInstanceOfferingInput
impl PartialEq for PurchaseReservedInstanceOfferingInput
source§fn eq(&self, other: &PurchaseReservedInstanceOfferingInput) -> bool
fn eq(&self, other: &PurchaseReservedInstanceOfferingInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PurchaseReservedInstanceOfferingInput
Auto Trait Implementations§
impl RefUnwindSafe for PurchaseReservedInstanceOfferingInput
impl Send for PurchaseReservedInstanceOfferingInput
impl Sync for PurchaseReservedInstanceOfferingInput
impl Unpin for PurchaseReservedInstanceOfferingInput
impl UnwindSafe for PurchaseReservedInstanceOfferingInput
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
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>
Creates a shared type from an unshared type.