#[non_exhaustive]pub struct ReservedNodeConfigurationOptionBuilder { /* private fields */ }
Expand description
A builder for ReservedNodeConfigurationOption
.
Implementations§
source§impl ReservedNodeConfigurationOptionBuilder
impl ReservedNodeConfigurationOptionBuilder
sourcepub fn source_reserved_node(self, input: ReservedNode) -> Self
pub fn source_reserved_node(self, input: ReservedNode) -> Self
Describes a reserved node. You can call the DescribeReservedNodeOfferings
API to obtain the available reserved node offerings.
sourcepub fn set_source_reserved_node(self, input: Option<ReservedNode>) -> Self
pub fn set_source_reserved_node(self, input: Option<ReservedNode>) -> Self
Describes a reserved node. You can call the DescribeReservedNodeOfferings
API to obtain the available reserved node offerings.
sourcepub fn get_source_reserved_node(&self) -> &Option<ReservedNode>
pub fn get_source_reserved_node(&self) -> &Option<ReservedNode>
Describes a reserved node. You can call the DescribeReservedNodeOfferings
API to obtain the available reserved node offerings.
sourcepub fn target_reserved_node_count(self, input: i32) -> Self
pub fn target_reserved_node_count(self, input: i32) -> Self
The target reserved-node count.
sourcepub fn set_target_reserved_node_count(self, input: Option<i32>) -> Self
pub fn set_target_reserved_node_count(self, input: Option<i32>) -> Self
The target reserved-node count.
sourcepub fn get_target_reserved_node_count(&self) -> &Option<i32>
pub fn get_target_reserved_node_count(&self) -> &Option<i32>
The target reserved-node count.
sourcepub fn target_reserved_node_offering(self, input: ReservedNodeOffering) -> Self
pub fn target_reserved_node_offering(self, input: ReservedNodeOffering) -> Self
Describes a reserved node offering.
sourcepub fn set_target_reserved_node_offering(
self,
input: Option<ReservedNodeOffering>,
) -> Self
pub fn set_target_reserved_node_offering( self, input: Option<ReservedNodeOffering>, ) -> Self
Describes a reserved node offering.
sourcepub fn get_target_reserved_node_offering(&self) -> &Option<ReservedNodeOffering>
pub fn get_target_reserved_node_offering(&self) -> &Option<ReservedNodeOffering>
Describes a reserved node offering.
sourcepub fn build(self) -> ReservedNodeConfigurationOption
pub fn build(self) -> ReservedNodeConfigurationOption
Consumes the builder and constructs a ReservedNodeConfigurationOption
.
Trait Implementations§
source§impl Clone for ReservedNodeConfigurationOptionBuilder
impl Clone for ReservedNodeConfigurationOptionBuilder
source§fn clone(&self) -> ReservedNodeConfigurationOptionBuilder
fn clone(&self) -> ReservedNodeConfigurationOptionBuilder
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 ReservedNodeConfigurationOptionBuilder
impl Default for ReservedNodeConfigurationOptionBuilder
source§fn default() -> ReservedNodeConfigurationOptionBuilder
fn default() -> ReservedNodeConfigurationOptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ReservedNodeConfigurationOptionBuilder
impl PartialEq for ReservedNodeConfigurationOptionBuilder
source§fn eq(&self, other: &ReservedNodeConfigurationOptionBuilder) -> bool
fn eq(&self, other: &ReservedNodeConfigurationOptionBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ReservedNodeConfigurationOptionBuilder
Auto Trait Implementations§
impl Freeze for ReservedNodeConfigurationOptionBuilder
impl RefUnwindSafe for ReservedNodeConfigurationOptionBuilder
impl Send for ReservedNodeConfigurationOptionBuilder
impl Sync for ReservedNodeConfigurationOptionBuilder
impl Unpin for ReservedNodeConfigurationOptionBuilder
impl UnwindSafe for ReservedNodeConfigurationOptionBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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.