#[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 ds2.xlarge.
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 ds2.xlarge.
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 ds2.xlarge.
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 ==
.