Struct aws_sdk_ec2::input::AssignPrivateIpAddressesInput
source · [−]#[non_exhaustive]pub struct AssignPrivateIpAddressesInput { /* private fields */ }
Expand description
Contains the parameters for AssignPrivateIpAddresses.
Implementations
sourceimpl AssignPrivateIpAddressesInput
impl AssignPrivateIpAddressesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AssignPrivateIpAddresses, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AssignPrivateIpAddresses, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<AssignPrivateIpAddresses
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AssignPrivateIpAddressesInput
.
sourceimpl AssignPrivateIpAddressesInput
impl AssignPrivateIpAddressesInput
sourcepub fn allow_reassignment(&self) -> Option<bool>
pub fn allow_reassignment(&self) -> Option<bool>
Indicates whether to allow an IP address that is already assigned to another network interface or instance to be reassigned to the specified network interface.
sourcepub fn network_interface_id(&self) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The ID of the network interface.
sourcepub fn private_ip_addresses(&self) -> Option<&[String]>
pub fn private_ip_addresses(&self) -> Option<&[String]>
One or more IP addresses to be assigned as a secondary private IP address to the network interface. You can't specify this parameter when also specifying a number of secondary IP addresses.
If you don't specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.
sourcepub fn secondary_private_ip_address_count(&self) -> Option<i32>
pub fn secondary_private_ip_address_count(&self) -> Option<i32>
The number of secondary IP addresses to assign to the network interface. You can't specify this parameter when also specifying private IP addresses.
sourcepub fn ipv4_prefixes(&self) -> Option<&[String]>
pub fn ipv4_prefixes(&self) -> Option<&[String]>
One or more IPv4 prefixes assigned to the network interface. You cannot use this option if you use the Ipv4PrefixCount
option.
sourcepub fn ipv4_prefix_count(&self) -> Option<i32>
pub fn ipv4_prefix_count(&self) -> Option<i32>
The number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface. You cannot use this option if you use the Ipv4 Prefixes
option.
Trait Implementations
sourceimpl Clone for AssignPrivateIpAddressesInput
impl Clone for AssignPrivateIpAddressesInput
sourcefn clone(&self) -> AssignPrivateIpAddressesInput
fn clone(&self) -> AssignPrivateIpAddressesInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AssignPrivateIpAddressesInput
impl Debug for AssignPrivateIpAddressesInput
sourceimpl PartialEq<AssignPrivateIpAddressesInput> for AssignPrivateIpAddressesInput
impl PartialEq<AssignPrivateIpAddressesInput> for AssignPrivateIpAddressesInput
sourcefn eq(&self, other: &AssignPrivateIpAddressesInput) -> bool
fn eq(&self, other: &AssignPrivateIpAddressesInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for AssignPrivateIpAddressesInput
Auto Trait Implementations
impl RefUnwindSafe for AssignPrivateIpAddressesInput
impl Send for AssignPrivateIpAddressesInput
impl Sync for AssignPrivateIpAddressesInput
impl Unpin for AssignPrivateIpAddressesInput
impl UnwindSafe for AssignPrivateIpAddressesInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more