#[non_exhaustive]pub struct MoveAddressToVpcInputBuilder { /* private fields */ }
Expand description
A builder for MoveAddressToVpcInput
.
Implementations§
source§impl MoveAddressToVpcInputBuilder
impl MoveAddressToVpcInputBuilder
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 set_public_ip(self, input: Option<String>) -> Self
pub fn set_public_ip(self, input: Option<String>) -> Self
The Elastic IP address.
sourcepub fn get_public_ip(&self) -> &Option<String>
pub fn get_public_ip(&self) -> &Option<String>
The Elastic IP address.
sourcepub fn build(self) -> Result<MoveAddressToVpcInput, BuildError>
pub fn build(self) -> Result<MoveAddressToVpcInput, BuildError>
Consumes the builder and constructs a MoveAddressToVpcInput
.
source§impl MoveAddressToVpcInputBuilder
impl MoveAddressToVpcInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<MoveAddressToVpcOutput, SdkError<MoveAddressToVpcError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<MoveAddressToVpcOutput, SdkError<MoveAddressToVpcError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for MoveAddressToVpcInputBuilder
impl Clone for MoveAddressToVpcInputBuilder
source§fn clone(&self) -> MoveAddressToVpcInputBuilder
fn clone(&self) -> MoveAddressToVpcInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MoveAddressToVpcInputBuilder
impl Debug for MoveAddressToVpcInputBuilder
source§impl Default for MoveAddressToVpcInputBuilder
impl Default for MoveAddressToVpcInputBuilder
source§fn default() -> MoveAddressToVpcInputBuilder
fn default() -> MoveAddressToVpcInputBuilder
source§impl PartialEq<MoveAddressToVpcInputBuilder> for MoveAddressToVpcInputBuilder
impl PartialEq<MoveAddressToVpcInputBuilder> for MoveAddressToVpcInputBuilder
source§fn eq(&self, other: &MoveAddressToVpcInputBuilder) -> bool
fn eq(&self, other: &MoveAddressToVpcInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.