pub struct DefaultSubnetArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> DefaultSubnetArgsBuilder<S>
impl<S: State> DefaultSubnetArgsBuilder<S>
sourcepub fn build_struct(self) -> DefaultSubnetArgswhere
S: IsComplete,
pub fn build_struct(self) -> DefaultSubnetArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn assign_ipv6_address_on_creation(
self,
value: impl Into<Output<Option<bool>>>,
) -> DefaultSubnetArgsBuilder<SetAssignIpv6AddressOnCreation<S>>where
S::AssignIpv6AddressOnCreation: IsUnset,
pub fn assign_ipv6_address_on_creation(
self,
value: impl Into<Output<Option<bool>>>,
) -> DefaultSubnetArgsBuilder<SetAssignIpv6AddressOnCreation<S>>where
S::AssignIpv6AddressOnCreation: IsUnset,
sourcepub fn maybe_assign_ipv6_address_on_creation(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> DefaultSubnetArgsBuilder<SetAssignIpv6AddressOnCreation<S>>where
S::AssignIpv6AddressOnCreation: IsUnset,
pub fn maybe_assign_ipv6_address_on_creation(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> DefaultSubnetArgsBuilder<SetAssignIpv6AddressOnCreation<S>>where
S::AssignIpv6AddressOnCreation: IsUnset,
sourcepub fn availability_zone(
self,
value: impl Into<Output<String>>,
) -> DefaultSubnetArgsBuilder<SetAvailabilityZone<S>>where
S::AvailabilityZone: IsUnset,
pub fn availability_zone(
self,
value: impl Into<Output<String>>,
) -> DefaultSubnetArgsBuilder<SetAvailabilityZone<S>>where
S::AvailabilityZone: IsUnset,
Required.
is required
- The
availability_zone_id
,cidr_block
andvpc_id
arguments become computed attributes - The default value for
map_public_ip_on_launch
istrue
This resource supports the following additional arguments:
sourcepub fn customer_owned_ipv4_pool(
self,
value: impl Into<Output<Option<String>>>,
) -> DefaultSubnetArgsBuilder<SetCustomerOwnedIpv4Pool<S>>where
S::CustomerOwnedIpv4Pool: IsUnset,
pub fn customer_owned_ipv4_pool(
self,
value: impl Into<Output<Option<String>>>,
) -> DefaultSubnetArgsBuilder<SetCustomerOwnedIpv4Pool<S>>where
S::CustomerOwnedIpv4Pool: IsUnset,
sourcepub fn maybe_customer_owned_ipv4_pool(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> DefaultSubnetArgsBuilder<SetCustomerOwnedIpv4Pool<S>>where
S::CustomerOwnedIpv4Pool: IsUnset,
pub fn maybe_customer_owned_ipv4_pool(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> DefaultSubnetArgsBuilder<SetCustomerOwnedIpv4Pool<S>>where
S::CustomerOwnedIpv4Pool: IsUnset,
sourcepub fn enable_dns64(
self,
value: impl Into<Output<Option<bool>>>,
) -> DefaultSubnetArgsBuilder<SetEnableDns64<S>>where
S::EnableDns64: IsUnset,
pub fn enable_dns64(
self,
value: impl Into<Output<Option<bool>>>,
) -> DefaultSubnetArgsBuilder<SetEnableDns64<S>>where
S::EnableDns64: IsUnset,
sourcepub fn maybe_enable_dns64(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> DefaultSubnetArgsBuilder<SetEnableDns64<S>>where
S::EnableDns64: IsUnset,
pub fn maybe_enable_dns64(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> DefaultSubnetArgsBuilder<SetEnableDns64<S>>where
S::EnableDns64: IsUnset,
sourcepub fn enable_resource_name_dns_a_record_on_launch(
self,
value: impl Into<Output<Option<bool>>>,
) -> DefaultSubnetArgsBuilder<SetEnableResourceNameDnsARecordOnLaunch<S>>where
S::EnableResourceNameDnsARecordOnLaunch: IsUnset,
pub fn enable_resource_name_dns_a_record_on_launch(
self,
value: impl Into<Output<Option<bool>>>,
) -> DefaultSubnetArgsBuilder<SetEnableResourceNameDnsARecordOnLaunch<S>>where
S::EnableResourceNameDnsARecordOnLaunch: IsUnset,
sourcepub fn maybe_enable_resource_name_dns_a_record_on_launch(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> DefaultSubnetArgsBuilder<SetEnableResourceNameDnsARecordOnLaunch<S>>where
S::EnableResourceNameDnsARecordOnLaunch: IsUnset,
pub fn maybe_enable_resource_name_dns_a_record_on_launch(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> DefaultSubnetArgsBuilder<SetEnableResourceNameDnsARecordOnLaunch<S>>where
S::EnableResourceNameDnsARecordOnLaunch: IsUnset,
sourcepub fn enable_resource_name_dns_aaaa_record_on_launch(
self,
value: impl Into<Output<Option<bool>>>,
) -> DefaultSubnetArgsBuilder<SetEnableResourceNameDnsAaaaRecordOnLaunch<S>>where
S::EnableResourceNameDnsAaaaRecordOnLaunch: IsUnset,
pub fn enable_resource_name_dns_aaaa_record_on_launch(
self,
value: impl Into<Output<Option<bool>>>,
) -> DefaultSubnetArgsBuilder<SetEnableResourceNameDnsAaaaRecordOnLaunch<S>>where
S::EnableResourceNameDnsAaaaRecordOnLaunch: IsUnset,
sourcepub fn maybe_enable_resource_name_dns_aaaa_record_on_launch(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> DefaultSubnetArgsBuilder<SetEnableResourceNameDnsAaaaRecordOnLaunch<S>>where
S::EnableResourceNameDnsAaaaRecordOnLaunch: IsUnset,
pub fn maybe_enable_resource_name_dns_aaaa_record_on_launch(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> DefaultSubnetArgsBuilder<SetEnableResourceNameDnsAaaaRecordOnLaunch<S>>where
S::EnableResourceNameDnsAaaaRecordOnLaunch: IsUnset,
sourcepub fn force_destroy(
self,
value: impl Into<Output<Option<bool>>>,
) -> DefaultSubnetArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
pub fn force_destroy(
self,
value: impl Into<Output<Option<bool>>>,
) -> DefaultSubnetArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
sourcepub fn maybe_force_destroy(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> DefaultSubnetArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
pub fn maybe_force_destroy(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> DefaultSubnetArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
sourcepub fn ipv6_cidr_block(
self,
value: impl Into<Output<Option<String>>>,
) -> DefaultSubnetArgsBuilder<SetIpv6CidrBlock<S>>where
S::Ipv6CidrBlock: IsUnset,
pub fn ipv6_cidr_block(
self,
value: impl Into<Output<Option<String>>>,
) -> DefaultSubnetArgsBuilder<SetIpv6CidrBlock<S>>where
S::Ipv6CidrBlock: IsUnset,
sourcepub fn maybe_ipv6_cidr_block(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> DefaultSubnetArgsBuilder<SetIpv6CidrBlock<S>>where
S::Ipv6CidrBlock: IsUnset,
pub fn maybe_ipv6_cidr_block(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> DefaultSubnetArgsBuilder<SetIpv6CidrBlock<S>>where
S::Ipv6CidrBlock: IsUnset,
sourcepub fn ipv6_native(
self,
value: impl Into<Output<Option<bool>>>,
) -> DefaultSubnetArgsBuilder<SetIpv6Native<S>>where
S::Ipv6Native: IsUnset,
pub fn ipv6_native(
self,
value: impl Into<Output<Option<bool>>>,
) -> DefaultSubnetArgsBuilder<SetIpv6Native<S>>where
S::Ipv6Native: IsUnset,
sourcepub fn maybe_ipv6_native(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> DefaultSubnetArgsBuilder<SetIpv6Native<S>>where
S::Ipv6Native: IsUnset,
pub fn maybe_ipv6_native(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> DefaultSubnetArgsBuilder<SetIpv6Native<S>>where
S::Ipv6Native: IsUnset,
sourcepub fn map_customer_owned_ip_on_launch(
self,
value: impl Into<Output<Option<bool>>>,
) -> DefaultSubnetArgsBuilder<SetMapCustomerOwnedIpOnLaunch<S>>where
S::MapCustomerOwnedIpOnLaunch: IsUnset,
pub fn map_customer_owned_ip_on_launch(
self,
value: impl Into<Output<Option<bool>>>,
) -> DefaultSubnetArgsBuilder<SetMapCustomerOwnedIpOnLaunch<S>>where
S::MapCustomerOwnedIpOnLaunch: IsUnset,
sourcepub fn maybe_map_customer_owned_ip_on_launch(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> DefaultSubnetArgsBuilder<SetMapCustomerOwnedIpOnLaunch<S>>where
S::MapCustomerOwnedIpOnLaunch: IsUnset,
pub fn maybe_map_customer_owned_ip_on_launch(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> DefaultSubnetArgsBuilder<SetMapCustomerOwnedIpOnLaunch<S>>where
S::MapCustomerOwnedIpOnLaunch: IsUnset,
sourcepub fn map_public_ip_on_launch(
self,
value: impl Into<Output<Option<bool>>>,
) -> DefaultSubnetArgsBuilder<SetMapPublicIpOnLaunch<S>>where
S::MapPublicIpOnLaunch: IsUnset,
pub fn map_public_ip_on_launch(
self,
value: impl Into<Output<Option<bool>>>,
) -> DefaultSubnetArgsBuilder<SetMapPublicIpOnLaunch<S>>where
S::MapPublicIpOnLaunch: IsUnset,
sourcepub fn maybe_map_public_ip_on_launch(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> DefaultSubnetArgsBuilder<SetMapPublicIpOnLaunch<S>>where
S::MapPublicIpOnLaunch: IsUnset,
pub fn maybe_map_public_ip_on_launch(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> DefaultSubnetArgsBuilder<SetMapPublicIpOnLaunch<S>>where
S::MapPublicIpOnLaunch: IsUnset,
sourcepub fn private_dns_hostname_type_on_launch(
self,
value: impl Into<Output<Option<String>>>,
) -> DefaultSubnetArgsBuilder<SetPrivateDnsHostnameTypeOnLaunch<S>>where
S::PrivateDnsHostnameTypeOnLaunch: IsUnset,
pub fn private_dns_hostname_type_on_launch(
self,
value: impl Into<Output<Option<String>>>,
) -> DefaultSubnetArgsBuilder<SetPrivateDnsHostnameTypeOnLaunch<S>>where
S::PrivateDnsHostnameTypeOnLaunch: IsUnset,
sourcepub fn maybe_private_dns_hostname_type_on_launch(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> DefaultSubnetArgsBuilder<SetPrivateDnsHostnameTypeOnLaunch<S>>where
S::PrivateDnsHostnameTypeOnLaunch: IsUnset,
pub fn maybe_private_dns_hostname_type_on_launch(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> DefaultSubnetArgsBuilder<SetPrivateDnsHostnameTypeOnLaunch<S>>where
S::PrivateDnsHostnameTypeOnLaunch: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for DefaultSubnetArgsBuilder<S>
impl<S> RefUnwindSafe for DefaultSubnetArgsBuilder<S>
impl<S> Send for DefaultSubnetArgsBuilder<S>
impl<S> Sync for DefaultSubnetArgsBuilder<S>
impl<S> Unpin for DefaultSubnetArgsBuilder<S>
impl<S> UnwindSafe for DefaultSubnetArgsBuilder<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