pub struct NatGatewayArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> NatGatewayArgsBuilder<S>
impl<S: State> NatGatewayArgsBuilder<S>
sourcepub fn build_struct(self) -> NatGatewayArgswhere
S: IsComplete,
pub fn build_struct(self) -> NatGatewayArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn allocation_id(
self,
value: impl Into<Output<Option<String>>>,
) -> NatGatewayArgsBuilder<SetAllocationId<S>>where
S::AllocationId: IsUnset,
pub fn allocation_id(
self,
value: impl Into<Output<Option<String>>>,
) -> NatGatewayArgsBuilder<SetAllocationId<S>>where
S::AllocationId: IsUnset,
sourcepub fn maybe_allocation_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NatGatewayArgsBuilder<SetAllocationId<S>>where
S::AllocationId: IsUnset,
pub fn maybe_allocation_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NatGatewayArgsBuilder<SetAllocationId<S>>where
S::AllocationId: IsUnset,
sourcepub fn connectivity_type(
self,
value: impl Into<Output<Option<String>>>,
) -> NatGatewayArgsBuilder<SetConnectivityType<S>>where
S::ConnectivityType: IsUnset,
pub fn connectivity_type(
self,
value: impl Into<Output<Option<String>>>,
) -> NatGatewayArgsBuilder<SetConnectivityType<S>>where
S::ConnectivityType: IsUnset,
sourcepub fn maybe_connectivity_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NatGatewayArgsBuilder<SetConnectivityType<S>>where
S::ConnectivityType: IsUnset,
pub fn maybe_connectivity_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NatGatewayArgsBuilder<SetConnectivityType<S>>where
S::ConnectivityType: IsUnset,
sourcepub fn private_ip(
self,
value: impl Into<Output<Option<String>>>,
) -> NatGatewayArgsBuilder<SetPrivateIp<S>>where
S::PrivateIp: IsUnset,
pub fn private_ip(
self,
value: impl Into<Output<Option<String>>>,
) -> NatGatewayArgsBuilder<SetPrivateIp<S>>where
S::PrivateIp: IsUnset,
sourcepub fn maybe_private_ip(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NatGatewayArgsBuilder<SetPrivateIp<S>>where
S::PrivateIp: IsUnset,
pub fn maybe_private_ip(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NatGatewayArgsBuilder<SetPrivateIp<S>>where
S::PrivateIp: IsUnset,
sourcepub fn secondary_allocation_ids(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> NatGatewayArgsBuilder<SetSecondaryAllocationIds<S>>where
S::SecondaryAllocationIds: IsUnset,
pub fn secondary_allocation_ids(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> NatGatewayArgsBuilder<SetSecondaryAllocationIds<S>>where
S::SecondaryAllocationIds: IsUnset,
sourcepub fn maybe_secondary_allocation_ids(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> NatGatewayArgsBuilder<SetSecondaryAllocationIds<S>>where
S::SecondaryAllocationIds: IsUnset,
pub fn maybe_secondary_allocation_ids(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> NatGatewayArgsBuilder<SetSecondaryAllocationIds<S>>where
S::SecondaryAllocationIds: IsUnset,
sourcepub fn secondary_private_ip_address_count(
self,
value: impl Into<Output<Option<i32>>>,
) -> NatGatewayArgsBuilder<SetSecondaryPrivateIpAddressCount<S>>where
S::SecondaryPrivateIpAddressCount: IsUnset,
pub fn secondary_private_ip_address_count(
self,
value: impl Into<Output<Option<i32>>>,
) -> NatGatewayArgsBuilder<SetSecondaryPrivateIpAddressCount<S>>where
S::SecondaryPrivateIpAddressCount: IsUnset,
sourcepub fn maybe_secondary_private_ip_address_count(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> NatGatewayArgsBuilder<SetSecondaryPrivateIpAddressCount<S>>where
S::SecondaryPrivateIpAddressCount: IsUnset,
pub fn maybe_secondary_private_ip_address_count(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> NatGatewayArgsBuilder<SetSecondaryPrivateIpAddressCount<S>>where
S::SecondaryPrivateIpAddressCount: IsUnset,
sourcepub fn secondary_private_ip_addresses(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> NatGatewayArgsBuilder<SetSecondaryPrivateIpAddresses<S>>where
S::SecondaryPrivateIpAddresses: IsUnset,
pub fn secondary_private_ip_addresses(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> NatGatewayArgsBuilder<SetSecondaryPrivateIpAddresses<S>>where
S::SecondaryPrivateIpAddresses: IsUnset,
sourcepub fn maybe_secondary_private_ip_addresses(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> NatGatewayArgsBuilder<SetSecondaryPrivateIpAddresses<S>>where
S::SecondaryPrivateIpAddresses: IsUnset,
pub fn maybe_secondary_private_ip_addresses(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> NatGatewayArgsBuilder<SetSecondaryPrivateIpAddresses<S>>where
S::SecondaryPrivateIpAddresses: IsUnset,
sourcepub fn subnet_id(
self,
value: impl Into<Output<String>>,
) -> NatGatewayArgsBuilder<SetSubnetId<S>>where
S::SubnetId: IsUnset,
pub fn subnet_id(
self,
value: impl Into<Output<String>>,
) -> NatGatewayArgsBuilder<SetSubnetId<S>>where
S::SubnetId: IsUnset,
Required.
The Subnet ID of the subnet in which to place the NAT Gateway.
Optional (Some / Option setters). Default:
ⓘ
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
A map of tags to assign to the resource. .If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Optional (Some / Option setters). Default:
ⓘ
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
A map of tags to assign to the resource. .If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Auto Trait Implementations§
impl<S> Freeze for NatGatewayArgsBuilder<S>
impl<S> RefUnwindSafe for NatGatewayArgsBuilder<S>
impl<S> Send for NatGatewayArgsBuilder<S>
impl<S> Sync for NatGatewayArgsBuilder<S>
impl<S> Unpin for NatGatewayArgsBuilder<S>
impl<S> UnwindSafe for NatGatewayArgsBuilder<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