#[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
[EC2-VPC] The allocation ID. Required for EC2-VPC.
sourcepub fn set_allocation_id(self, input: Option<String>) -> Self
pub fn set_allocation_id(self, input: Option<String>) -> Self
[EC2-VPC] The allocation ID. Required for EC2-VPC.
sourcepub fn public_ip(self, input: impl Into<String>) -> Self
pub fn public_ip(self, input: impl Into<String>) -> Self
[EC2-Classic] The Elastic IP address. Required for EC2-Classic.
sourcepub fn set_public_ip(self, input: Option<String>) -> Self
pub fn set_public_ip(self, input: Option<String>) -> Self
[EC2-Classic] The Elastic IP address. Required for EC2-Classic.
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 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 build(self) -> Result<ReleaseAddressInput, BuildError>
pub fn build(self) -> Result<ReleaseAddressInput, BuildError>
Consumes the builder and constructs a ReleaseAddressInput
.
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 ==
.