#[non_exhaustive]pub struct ReservedNodeExchangeStatusBuilder { /* private fields */ }
Expand description
A builder for ReservedNodeExchangeStatus
.
Implementations§
source§impl ReservedNodeExchangeStatusBuilder
impl ReservedNodeExchangeStatusBuilder
sourcepub fn reserved_node_exchange_request_id(self, input: impl Into<String>) -> Self
pub fn reserved_node_exchange_request_id(self, input: impl Into<String>) -> Self
The identifier of the reserved-node exchange request.
sourcepub fn set_reserved_node_exchange_request_id(
self,
input: Option<String>,
) -> Self
pub fn set_reserved_node_exchange_request_id( self, input: Option<String>, ) -> Self
The identifier of the reserved-node exchange request.
sourcepub fn get_reserved_node_exchange_request_id(&self) -> &Option<String>
pub fn get_reserved_node_exchange_request_id(&self) -> &Option<String>
The identifier of the reserved-node exchange request.
sourcepub fn status(self, input: ReservedNodeExchangeStatusType) -> Self
pub fn status(self, input: ReservedNodeExchangeStatusType) -> Self
The status of the reserved-node exchange request. Statuses include in-progress and requested.
sourcepub fn set_status(self, input: Option<ReservedNodeExchangeStatusType>) -> Self
pub fn set_status(self, input: Option<ReservedNodeExchangeStatusType>) -> Self
The status of the reserved-node exchange request. Statuses include in-progress and requested.
sourcepub fn get_status(&self) -> &Option<ReservedNodeExchangeStatusType>
pub fn get_status(&self) -> &Option<ReservedNodeExchangeStatusType>
The status of the reserved-node exchange request. Statuses include in-progress and requested.
sourcepub fn request_time(self, input: DateTime) -> Self
pub fn request_time(self, input: DateTime) -> Self
A date and time that indicate when the reserved-node exchange was requested.
sourcepub fn set_request_time(self, input: Option<DateTime>) -> Self
pub fn set_request_time(self, input: Option<DateTime>) -> Self
A date and time that indicate when the reserved-node exchange was requested.
sourcepub fn get_request_time(&self) -> &Option<DateTime>
pub fn get_request_time(&self) -> &Option<DateTime>
A date and time that indicate when the reserved-node exchange was requested.
sourcepub fn source_reserved_node_id(self, input: impl Into<String>) -> Self
pub fn source_reserved_node_id(self, input: impl Into<String>) -> Self
The identifier of the source reserved node.
sourcepub fn set_source_reserved_node_id(self, input: Option<String>) -> Self
pub fn set_source_reserved_node_id(self, input: Option<String>) -> Self
The identifier of the source reserved node.
sourcepub fn get_source_reserved_node_id(&self) -> &Option<String>
pub fn get_source_reserved_node_id(&self) -> &Option<String>
The identifier of the source reserved node.
sourcepub fn source_reserved_node_type(self, input: impl Into<String>) -> Self
pub fn source_reserved_node_type(self, input: impl Into<String>) -> Self
The source reserved-node type, for example ra3.4xlarge.
sourcepub fn set_source_reserved_node_type(self, input: Option<String>) -> Self
pub fn set_source_reserved_node_type(self, input: Option<String>) -> Self
The source reserved-node type, for example ra3.4xlarge.
sourcepub fn get_source_reserved_node_type(&self) -> &Option<String>
pub fn get_source_reserved_node_type(&self) -> &Option<String>
The source reserved-node type, for example ra3.4xlarge.
sourcepub fn source_reserved_node_count(self, input: i32) -> Self
pub fn source_reserved_node_count(self, input: i32) -> Self
The source reserved-node count in the cluster.
sourcepub fn set_source_reserved_node_count(self, input: Option<i32>) -> Self
pub fn set_source_reserved_node_count(self, input: Option<i32>) -> Self
The source reserved-node count in the cluster.
sourcepub fn get_source_reserved_node_count(&self) -> &Option<i32>
pub fn get_source_reserved_node_count(&self) -> &Option<i32>
The source reserved-node count in the cluster.
sourcepub fn target_reserved_node_offering_id(self, input: impl Into<String>) -> Self
pub fn target_reserved_node_offering_id(self, input: impl Into<String>) -> Self
The identifier of the target reserved node offering.
sourcepub fn set_target_reserved_node_offering_id(self, input: Option<String>) -> Self
pub fn set_target_reserved_node_offering_id(self, input: Option<String>) -> Self
The identifier of the target reserved node offering.
sourcepub fn get_target_reserved_node_offering_id(&self) -> &Option<String>
pub fn get_target_reserved_node_offering_id(&self) -> &Option<String>
The identifier of the target reserved node offering.
sourcepub fn target_reserved_node_type(self, input: impl Into<String>) -> Self
pub fn target_reserved_node_type(self, input: impl Into<String>) -> Self
The node type of the target reserved node, for example ra3.4xlarge.
sourcepub fn set_target_reserved_node_type(self, input: Option<String>) -> Self
pub fn set_target_reserved_node_type(self, input: Option<String>) -> Self
The node type of the target reserved node, for example ra3.4xlarge.
sourcepub fn get_target_reserved_node_type(&self) -> &Option<String>
pub fn get_target_reserved_node_type(&self) -> &Option<String>
The node type of the target reserved node, for example ra3.4xlarge.
sourcepub fn target_reserved_node_count(self, input: i32) -> Self
pub fn target_reserved_node_count(self, input: i32) -> Self
The count of target reserved nodes in the cluster.
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 count of target reserved nodes in the cluster.
sourcepub fn get_target_reserved_node_count(&self) -> &Option<i32>
pub fn get_target_reserved_node_count(&self) -> &Option<i32>
The count of target reserved nodes in the cluster.
sourcepub fn build(self) -> ReservedNodeExchangeStatus
pub fn build(self) -> ReservedNodeExchangeStatus
Consumes the builder and constructs a ReservedNodeExchangeStatus
.
Trait Implementations§
source§impl Clone for ReservedNodeExchangeStatusBuilder
impl Clone for ReservedNodeExchangeStatusBuilder
source§fn clone(&self) -> ReservedNodeExchangeStatusBuilder
fn clone(&self) -> ReservedNodeExchangeStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ReservedNodeExchangeStatusBuilder
impl Default for ReservedNodeExchangeStatusBuilder
source§fn default() -> ReservedNodeExchangeStatusBuilder
fn default() -> ReservedNodeExchangeStatusBuilder
source§impl PartialEq for ReservedNodeExchangeStatusBuilder
impl PartialEq for ReservedNodeExchangeStatusBuilder
source§fn eq(&self, other: &ReservedNodeExchangeStatusBuilder) -> bool
fn eq(&self, other: &ReservedNodeExchangeStatusBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ReservedNodeExchangeStatusBuilder
Auto Trait Implementations§
impl Freeze for ReservedNodeExchangeStatusBuilder
impl RefUnwindSafe for ReservedNodeExchangeStatusBuilder
impl Send for ReservedNodeExchangeStatusBuilder
impl Sync for ReservedNodeExchangeStatusBuilder
impl Unpin for ReservedNodeExchangeStatusBuilder
impl UnwindSafe for ReservedNodeExchangeStatusBuilder
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> 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)
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>
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