Struct aws_sdk_ec2::operation::get_reserved_instances_exchange_quote::builders::GetReservedInstancesExchangeQuoteInputBuilder
source · #[non_exhaustive]pub struct GetReservedInstancesExchangeQuoteInputBuilder { /* private fields */ }Expand description
A builder for GetReservedInstancesExchangeQuoteInput.
Implementations§
source§impl GetReservedInstancesExchangeQuoteInputBuilder
impl GetReservedInstancesExchangeQuoteInputBuilder
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn reserved_instance_ids(self, input: impl Into<String>) -> Self
pub fn reserved_instance_ids(self, input: impl Into<String>) -> Self
Appends an item to reserved_instance_ids.
To override the contents of this collection use set_reserved_instance_ids.
The IDs of the Convertible Reserved Instances to exchange.
sourcepub fn set_reserved_instance_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_reserved_instance_ids(self, input: Option<Vec<String>>) -> Self
The IDs of the Convertible Reserved Instances to exchange.
sourcepub fn get_reserved_instance_ids(&self) -> &Option<Vec<String>>
pub fn get_reserved_instance_ids(&self) -> &Option<Vec<String>>
The IDs of the Convertible Reserved Instances to exchange.
sourcepub fn target_configurations(self, input: TargetConfigurationRequest) -> Self
pub fn target_configurations(self, input: TargetConfigurationRequest) -> Self
Appends an item to target_configurations.
To override the contents of this collection use set_target_configurations.
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
sourcepub fn set_target_configurations(
self,
input: Option<Vec<TargetConfigurationRequest>>
) -> Self
pub fn set_target_configurations( self, input: Option<Vec<TargetConfigurationRequest>> ) -> Self
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
sourcepub fn get_target_configurations(
&self
) -> &Option<Vec<TargetConfigurationRequest>>
pub fn get_target_configurations( &self ) -> &Option<Vec<TargetConfigurationRequest>>
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
sourcepub fn build(self) -> Result<GetReservedInstancesExchangeQuoteInput, BuildError>
pub fn build(self) -> Result<GetReservedInstancesExchangeQuoteInput, BuildError>
Consumes the builder and constructs a GetReservedInstancesExchangeQuoteInput.
source§impl GetReservedInstancesExchangeQuoteInputBuilder
impl GetReservedInstancesExchangeQuoteInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetReservedInstancesExchangeQuoteOutput, SdkError<GetReservedInstancesExchangeQuoteError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetReservedInstancesExchangeQuoteOutput, SdkError<GetReservedInstancesExchangeQuoteError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetReservedInstancesExchangeQuoteInputBuilder
impl Clone for GetReservedInstancesExchangeQuoteInputBuilder
source§fn clone(&self) -> GetReservedInstancesExchangeQuoteInputBuilder
fn clone(&self) -> GetReservedInstancesExchangeQuoteInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetReservedInstancesExchangeQuoteInputBuilder
impl Default for GetReservedInstancesExchangeQuoteInputBuilder
source§fn default() -> GetReservedInstancesExchangeQuoteInputBuilder
fn default() -> GetReservedInstancesExchangeQuoteInputBuilder
source§impl PartialEq<GetReservedInstancesExchangeQuoteInputBuilder> for GetReservedInstancesExchangeQuoteInputBuilder
impl PartialEq<GetReservedInstancesExchangeQuoteInputBuilder> for GetReservedInstancesExchangeQuoteInputBuilder
source§fn eq(&self, other: &GetReservedInstancesExchangeQuoteInputBuilder) -> bool
fn eq(&self, other: &GetReservedInstancesExchangeQuoteInputBuilder) -> bool
self and other values to be equal, and is used
by ==.