#[non_exhaustive]pub struct ReservedInstancesModificationResultBuilder { /* private fields */ }
Expand description
A builder for ReservedInstancesModificationResult
.
Implementations§
source§impl ReservedInstancesModificationResultBuilder
impl ReservedInstancesModificationResultBuilder
sourcepub fn reserved_instances_id(self, input: impl Into<String>) -> Self
pub fn reserved_instances_id(self, input: impl Into<String>) -> Self
The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.
sourcepub fn set_reserved_instances_id(self, input: Option<String>) -> Self
pub fn set_reserved_instances_id(self, input: Option<String>) -> Self
The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.
sourcepub fn get_reserved_instances_id(&self) -> &Option<String>
pub fn get_reserved_instances_id(&self) -> &Option<String>
The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.
sourcepub fn target_configuration(self, input: ReservedInstancesConfiguration) -> Self
pub fn target_configuration(self, input: ReservedInstancesConfiguration) -> Self
The target Reserved Instances configurations supplied as part of the modification request.
sourcepub fn set_target_configuration(
self,
input: Option<ReservedInstancesConfiguration>,
) -> Self
pub fn set_target_configuration( self, input: Option<ReservedInstancesConfiguration>, ) -> Self
The target Reserved Instances configurations supplied as part of the modification request.
sourcepub fn get_target_configuration(
&self,
) -> &Option<ReservedInstancesConfiguration>
pub fn get_target_configuration( &self, ) -> &Option<ReservedInstancesConfiguration>
The target Reserved Instances configurations supplied as part of the modification request.
sourcepub fn build(self) -> ReservedInstancesModificationResult
pub fn build(self) -> ReservedInstancesModificationResult
Consumes the builder and constructs a ReservedInstancesModificationResult
.
Trait Implementations§
source§impl Clone for ReservedInstancesModificationResultBuilder
impl Clone for ReservedInstancesModificationResultBuilder
source§fn clone(&self) -> ReservedInstancesModificationResultBuilder
fn clone(&self) -> ReservedInstancesModificationResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ReservedInstancesModificationResultBuilder
impl Default for ReservedInstancesModificationResultBuilder
source§fn default() -> ReservedInstancesModificationResultBuilder
fn default() -> ReservedInstancesModificationResultBuilder
source§impl PartialEq for ReservedInstancesModificationResultBuilder
impl PartialEq for ReservedInstancesModificationResultBuilder
source§fn eq(&self, other: &ReservedInstancesModificationResultBuilder) -> bool
fn eq(&self, other: &ReservedInstancesModificationResultBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReservedInstancesModificationResultBuilder
Auto Trait Implementations§
impl Freeze for ReservedInstancesModificationResultBuilder
impl RefUnwindSafe for ReservedInstancesModificationResultBuilder
impl Send for ReservedInstancesModificationResultBuilder
impl Sync for ReservedInstancesModificationResultBuilder
impl Unpin for ReservedInstancesModificationResultBuilder
impl UnwindSafe for ReservedInstancesModificationResultBuilder
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> 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