Struct aws_sdk_elasticsearch::operation::purchase_reserved_elasticsearch_instance_offering::builders::PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
source · #[non_exhaustive]pub struct PurchaseReservedElasticsearchInstanceOfferingOutputBuilder { /* private fields */ }
Expand description
A builder for PurchaseReservedElasticsearchInstanceOfferingOutput
.
Implementations§
source§impl PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
impl PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
sourcepub fn reserved_elasticsearch_instance_id(
self,
input: impl Into<String>,
) -> Self
pub fn reserved_elasticsearch_instance_id( self, input: impl Into<String>, ) -> Self
Details of the reserved Elasticsearch instance which was purchased.
sourcepub fn set_reserved_elasticsearch_instance_id(
self,
input: Option<String>,
) -> Self
pub fn set_reserved_elasticsearch_instance_id( self, input: Option<String>, ) -> Self
Details of the reserved Elasticsearch instance which was purchased.
sourcepub fn get_reserved_elasticsearch_instance_id(&self) -> &Option<String>
pub fn get_reserved_elasticsearch_instance_id(&self) -> &Option<String>
Details of the reserved Elasticsearch instance which was purchased.
sourcepub fn reservation_name(self, input: impl Into<String>) -> Self
pub fn reservation_name(self, input: impl Into<String>) -> Self
The customer-specified identifier used to track this reservation.
sourcepub fn set_reservation_name(self, input: Option<String>) -> Self
pub fn set_reservation_name(self, input: Option<String>) -> Self
The customer-specified identifier used to track this reservation.
sourcepub fn get_reservation_name(&self) -> &Option<String>
pub fn get_reservation_name(&self) -> &Option<String>
The customer-specified identifier used to track this reservation.
sourcepub fn build(self) -> PurchaseReservedElasticsearchInstanceOfferingOutput
pub fn build(self) -> PurchaseReservedElasticsearchInstanceOfferingOutput
Consumes the builder and constructs a PurchaseReservedElasticsearchInstanceOfferingOutput
.
Trait Implementations§
source§impl Clone for PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
impl Clone for PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
source§fn clone(&self) -> PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
fn clone(&self) -> PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
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 Default for PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
impl Default for PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
source§fn default() -> PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
fn default() -> PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
impl PartialEq for PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
source§fn eq(
&self,
other: &PurchaseReservedElasticsearchInstanceOfferingOutputBuilder,
) -> bool
fn eq( &self, other: &PurchaseReservedElasticsearchInstanceOfferingOutputBuilder, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
Auto Trait Implementations§
impl Freeze for PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
impl RefUnwindSafe for PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
impl Send for PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
impl Sync for PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
impl Unpin for PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
impl UnwindSafe for PurchaseReservedElasticsearchInstanceOfferingOutputBuilder
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.