pub struct LaunchTemplateNetworkInterfaceBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> LaunchTemplateNetworkInterfaceBuilder<S>
impl<S: State> LaunchTemplateNetworkInterfaceBuilder<S>
Sourcepub fn build(self) -> LaunchTemplateNetworkInterfacewhere
S: IsComplete,
pub fn build(self) -> LaunchTemplateNetworkInterfacewhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn device_index(
self,
value: i32,
) -> LaunchTemplateNetworkInterfaceBuilder<SetDeviceIndex<S>>where
S::DeviceIndex: IsUnset,
pub fn device_index(
self,
value: i32,
) -> LaunchTemplateNetworkInterfaceBuilder<SetDeviceIndex<S>>where
S::DeviceIndex: IsUnset,
Sourcepub fn maybe_device_index(
self,
value: Option<i32>,
) -> LaunchTemplateNetworkInterfaceBuilder<SetDeviceIndex<S>>where
S::DeviceIndex: IsUnset,
pub fn maybe_device_index(
self,
value: Option<i32>,
) -> LaunchTemplateNetworkInterfaceBuilder<SetDeviceIndex<S>>where
S::DeviceIndex: IsUnset,
Sourcepub fn associate_public_ip_address(
self,
value: bool,
) -> LaunchTemplateNetworkInterfaceBuilder<SetAssociatePublicIpAddress<S>>where
S::AssociatePublicIpAddress: IsUnset,
pub fn associate_public_ip_address(
self,
value: bool,
) -> LaunchTemplateNetworkInterfaceBuilder<SetAssociatePublicIpAddress<S>>where
S::AssociatePublicIpAddress: IsUnset,
Sourcepub fn maybe_associate_public_ip_address(
self,
value: Option<bool>,
) -> LaunchTemplateNetworkInterfaceBuilder<SetAssociatePublicIpAddress<S>>where
S::AssociatePublicIpAddress: IsUnset,
pub fn maybe_associate_public_ip_address(
self,
value: Option<bool>,
) -> LaunchTemplateNetworkInterfaceBuilder<SetAssociatePublicIpAddress<S>>where
S::AssociatePublicIpAddress: IsUnset,
Sourcepub fn subnet_id(
self,
value: String,
) -> LaunchTemplateNetworkInterfaceBuilder<SetSubnetId<S>>where
S::SubnetId: IsUnset,
pub fn subnet_id(
self,
value: String,
) -> LaunchTemplateNetworkInterfaceBuilder<SetSubnetId<S>>where
S::SubnetId: IsUnset,
Sourcepub fn maybe_subnet_id(
self,
value: Option<String>,
) -> LaunchTemplateNetworkInterfaceBuilder<SetSubnetId<S>>where
S::SubnetId: IsUnset,
pub fn maybe_subnet_id(
self,
value: Option<String>,
) -> LaunchTemplateNetworkInterfaceBuilder<SetSubnetId<S>>where
S::SubnetId: IsUnset,
Sourcepub fn groups(
self,
value: Vec<String>,
) -> LaunchTemplateNetworkInterfaceBuilder<SetGroups<S>>where
S::Groups: IsUnset,
pub fn groups(
self,
value: Vec<String>,
) -> LaunchTemplateNetworkInterfaceBuilder<SetGroups<S>>where
S::Groups: IsUnset,
Sourcepub fn maybe_groups(
self,
value: Option<Vec<String>>,
) -> LaunchTemplateNetworkInterfaceBuilder<SetGroups<S>>where
S::Groups: IsUnset,
pub fn maybe_groups(
self,
value: Option<Vec<String>>,
) -> LaunchTemplateNetworkInterfaceBuilder<SetGroups<S>>where
S::Groups: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for LaunchTemplateNetworkInterfaceBuilder<S>
impl<S> RefUnwindSafe for LaunchTemplateNetworkInterfaceBuilder<S>
impl<S> Send for LaunchTemplateNetworkInterfaceBuilder<S>
impl<S> Sync for LaunchTemplateNetworkInterfaceBuilder<S>
impl<S> Unpin for LaunchTemplateNetworkInterfaceBuilder<S>
impl<S> UnsafeUnpin for LaunchTemplateNetworkInterfaceBuilder<S>
impl<S> UnwindSafe for LaunchTemplateNetworkInterfaceBuilder<S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.