Struct aws_sdk_elasticsearch::operation::purchase_reserved_elasticsearch_instance_offering::PurchaseReservedElasticsearchInstanceOfferingInput
source · #[non_exhaustive]pub struct PurchaseReservedElasticsearchInstanceOfferingInput {
pub reserved_elasticsearch_instance_offering_id: Option<String>,
pub reservation_name: Option<String>,
pub instance_count: Option<i32>,
}
Expand description
Container for parameters to PurchaseReservedElasticsearchInstanceOffering
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_elasticsearch_instance_offering_id: Option<String>
The ID of the reserved Elasticsearch instance offering to purchase.
reservation_name: Option<String>
A customer-specified identifier to track this reservation.
instance_count: Option<i32>
The number of Elasticsearch instances to reserve.
Implementations§
source§impl PurchaseReservedElasticsearchInstanceOfferingInput
impl PurchaseReservedElasticsearchInstanceOfferingInput
sourcepub fn reserved_elasticsearch_instance_offering_id(&self) -> Option<&str>
pub fn reserved_elasticsearch_instance_offering_id(&self) -> Option<&str>
The ID of the reserved Elasticsearch 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 Elasticsearch instances to reserve.
source§impl PurchaseReservedElasticsearchInstanceOfferingInput
impl PurchaseReservedElasticsearchInstanceOfferingInput
sourcepub fn builder() -> PurchaseReservedElasticsearchInstanceOfferingInputBuilder
pub fn builder() -> PurchaseReservedElasticsearchInstanceOfferingInputBuilder
Creates a new builder-style object to manufacture PurchaseReservedElasticsearchInstanceOfferingInput
.
Trait Implementations§
source§impl Clone for PurchaseReservedElasticsearchInstanceOfferingInput
impl Clone for PurchaseReservedElasticsearchInstanceOfferingInput
source§fn clone(&self) -> PurchaseReservedElasticsearchInstanceOfferingInput
fn clone(&self) -> PurchaseReservedElasticsearchInstanceOfferingInput
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 PurchaseReservedElasticsearchInstanceOfferingInput
impl PartialEq for PurchaseReservedElasticsearchInstanceOfferingInput
source§fn eq(&self, other: &PurchaseReservedElasticsearchInstanceOfferingInput) -> bool
fn eq(&self, other: &PurchaseReservedElasticsearchInstanceOfferingInput) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PurchaseReservedElasticsearchInstanceOfferingInput
Auto Trait Implementations§
impl Freeze for PurchaseReservedElasticsearchInstanceOfferingInput
impl RefUnwindSafe for PurchaseReservedElasticsearchInstanceOfferingInput
impl Send for PurchaseReservedElasticsearchInstanceOfferingInput
impl Sync for PurchaseReservedElasticsearchInstanceOfferingInput
impl Unpin for PurchaseReservedElasticsearchInstanceOfferingInput
impl UnwindSafe for PurchaseReservedElasticsearchInstanceOfferingInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.