#[non_exhaustive]pub struct ReleaseAddressInputBuilder { /* private fields */ }
Expand description
A builder for ReleaseAddressInput
.
Implementations§
source§impl ReleaseAddressInputBuilder
impl ReleaseAddressInputBuilder
sourcepub fn allocation_id(self, input: impl Into<String>) -> Self
pub fn allocation_id(self, input: impl Into<String>) -> Self
The allocation ID. This parameter is required.
sourcepub fn set_allocation_id(self, input: Option<String>) -> Self
pub fn set_allocation_id(self, input: Option<String>) -> Self
The allocation ID. This parameter is required.
sourcepub fn get_allocation_id(&self) -> &Option<String>
pub fn get_allocation_id(&self) -> &Option<String>
The allocation ID. This parameter is required.
sourcepub fn set_public_ip(self, input: Option<String>) -> Self
pub fn set_public_ip(self, input: Option<String>) -> Self
Deprecated.
sourcepub fn get_public_ip(&self) -> &Option<String>
pub fn get_public_ip(&self) -> &Option<String>
Deprecated.
sourcepub fn network_border_group(self, input: impl Into<String>) -> Self
pub fn network_border_group(self, input: impl Into<String>) -> Self
The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
If you provide an incorrect network border group, you receive an InvalidAddress.NotFound
error.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you receive an InvalidParameterCombination
error.
sourcepub fn set_network_border_group(self, input: Option<String>) -> Self
pub fn set_network_border_group(self, input: Option<String>) -> Self
The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
If you provide an incorrect network border group, you receive an InvalidAddress.NotFound
error.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you receive an InvalidParameterCombination
error.
sourcepub fn get_network_border_group(&self) -> &Option<String>
pub fn get_network_border_group(&self) -> &Option<String>
The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
If you provide an incorrect network border group, you receive an InvalidAddress.NotFound
error.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you receive an InvalidParameterCombination
error.
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 build(self) -> Result<ReleaseAddressInput, BuildError>
pub fn build(self) -> Result<ReleaseAddressInput, BuildError>
Consumes the builder and constructs a ReleaseAddressInput
.
source§impl ReleaseAddressInputBuilder
impl ReleaseAddressInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ReleaseAddressOutput, SdkError<ReleaseAddressError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ReleaseAddressOutput, SdkError<ReleaseAddressError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ReleaseAddressInputBuilder
impl Clone for ReleaseAddressInputBuilder
source§fn clone(&self) -> ReleaseAddressInputBuilder
fn clone(&self) -> ReleaseAddressInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReleaseAddressInputBuilder
impl Debug for ReleaseAddressInputBuilder
source§impl Default for ReleaseAddressInputBuilder
impl Default for ReleaseAddressInputBuilder
source§fn default() -> ReleaseAddressInputBuilder
fn default() -> ReleaseAddressInputBuilder
source§impl PartialEq<ReleaseAddressInputBuilder> for ReleaseAddressInputBuilder
impl PartialEq<ReleaseAddressInputBuilder> for ReleaseAddressInputBuilder
source§fn eq(&self, other: &ReleaseAddressInputBuilder) -> bool
fn eq(&self, other: &ReleaseAddressInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.