Struct aws_sdk_redshift::operation::accept_reserved_node_exchange::builders::AcceptReservedNodeExchangeInputBuilder
source · #[non_exhaustive]pub struct AcceptReservedNodeExchangeInputBuilder { /* private fields */ }Expand description
A builder for AcceptReservedNodeExchangeInput.
Implementations§
source§impl AcceptReservedNodeExchangeInputBuilder
impl AcceptReservedNodeExchangeInputBuilder
sourcepub fn reserved_node_id(self, input: impl Into<String>) -> Self
pub fn reserved_node_id(self, input: impl Into<String>) -> Self
A string representing the node identifier of the DC1 Reserved Node to be exchanged.
This field is required.sourcepub fn set_reserved_node_id(self, input: Option<String>) -> Self
pub fn set_reserved_node_id(self, input: Option<String>) -> Self
A string representing the node identifier of the DC1 Reserved Node to be exchanged.
sourcepub fn get_reserved_node_id(&self) -> &Option<String>
pub fn get_reserved_node_id(&self) -> &Option<String>
A string representing the node identifier of the DC1 Reserved Node to be exchanged.
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 unique identifier of the DC2 Reserved Node offering to be used for the exchange. You can obtain the value for the parameter by calling GetReservedNodeExchangeOfferings
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 unique identifier of the DC2 Reserved Node offering to be used for the exchange. You can obtain the value for the parameter by calling GetReservedNodeExchangeOfferings
sourcepub fn get_target_reserved_node_offering_id(&self) -> &Option<String>
pub fn get_target_reserved_node_offering_id(&self) -> &Option<String>
The unique identifier of the DC2 Reserved Node offering to be used for the exchange. You can obtain the value for the parameter by calling GetReservedNodeExchangeOfferings
sourcepub fn build(self) -> Result<AcceptReservedNodeExchangeInput, BuildError>
pub fn build(self) -> Result<AcceptReservedNodeExchangeInput, BuildError>
Consumes the builder and constructs a AcceptReservedNodeExchangeInput.
source§impl AcceptReservedNodeExchangeInputBuilder
impl AcceptReservedNodeExchangeInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AcceptReservedNodeExchangeOutput, SdkError<AcceptReservedNodeExchangeError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AcceptReservedNodeExchangeOutput, SdkError<AcceptReservedNodeExchangeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AcceptReservedNodeExchangeInputBuilder
impl Clone for AcceptReservedNodeExchangeInputBuilder
source§fn clone(&self) -> AcceptReservedNodeExchangeInputBuilder
fn clone(&self) -> AcceptReservedNodeExchangeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AcceptReservedNodeExchangeInputBuilder
impl Default for AcceptReservedNodeExchangeInputBuilder
source§fn default() -> AcceptReservedNodeExchangeInputBuilder
fn default() -> AcceptReservedNodeExchangeInputBuilder
source§impl PartialEq for AcceptReservedNodeExchangeInputBuilder
impl PartialEq for AcceptReservedNodeExchangeInputBuilder
source§fn eq(&self, other: &AcceptReservedNodeExchangeInputBuilder) -> bool
fn eq(&self, other: &AcceptReservedNodeExchangeInputBuilder) -> bool
self and other values to be equal, and is used
by ==.