pub struct GetNatGatewayArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> GetNatGatewayArgsBuilder<S>
impl<S: State> GetNatGatewayArgsBuilder<S>
sourcepub fn build_struct(self) -> GetNatGatewayArgswhere
S: IsComplete,
pub fn build_struct(self) -> GetNatGatewayArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn filters(
self,
value: impl Into<Output<Option<Vec<GetNatGatewayFilter>>>>,
) -> GetNatGatewayArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
pub fn filters(
self,
value: impl Into<Output<Option<Vec<GetNatGatewayFilter>>>>,
) -> GetNatGatewayArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
Optional (Some / Option setters). Default:
ⓘ
<pulumi_wasm_rust::Output<
Option<Vec<super::super::super::types::ec2::GetNatGatewayFilter>>,
> as Default>::default()
Custom filter block as described below.
More complex filters can be expressed using one or more filter
sub-blocks,
which take the following arguments:
sourcepub fn maybe_filters(
self,
value: Option<impl Into<Output<Option<Vec<GetNatGatewayFilter>>>>>,
) -> GetNatGatewayArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
pub fn maybe_filters(
self,
value: Option<impl Into<Output<Option<Vec<GetNatGatewayFilter>>>>>,
) -> GetNatGatewayArgsBuilder<SetFilters<S>>where
S::Filters: IsUnset,
Optional (Some / Option setters). Default:
ⓘ
<pulumi_wasm_rust::Output<
Option<Vec<super::super::super::types::ec2::GetNatGatewayFilter>>,
> as Default>::default()
Custom filter block as described below.
More complex filters can be expressed using one or more filter
sub-blocks,
which take the following arguments:
sourcepub fn id(
self,
value: impl Into<Output<Option<String>>>,
) -> GetNatGatewayArgsBuilder<SetId<S>>where
S::Id: IsUnset,
pub fn id(
self,
value: impl Into<Output<Option<String>>>,
) -> GetNatGatewayArgsBuilder<SetId<S>>where
S::Id: IsUnset,
sourcepub fn maybe_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetNatGatewayArgsBuilder<SetId<S>>where
S::Id: IsUnset,
pub fn maybe_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetNatGatewayArgsBuilder<SetId<S>>where
S::Id: IsUnset,
sourcepub fn state(
self,
value: impl Into<Output<Option<String>>>,
) -> GetNatGatewayArgsBuilder<SetState<S>>where
S::State: IsUnset,
pub fn state(
self,
value: impl Into<Output<Option<String>>>,
) -> GetNatGatewayArgsBuilder<SetState<S>>where
S::State: IsUnset,
sourcepub fn maybe_state(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetNatGatewayArgsBuilder<SetState<S>>where
S::State: IsUnset,
pub fn maybe_state(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetNatGatewayArgsBuilder<SetState<S>>where
S::State: IsUnset,
sourcepub fn subnet_id(
self,
value: impl Into<Output<Option<String>>>,
) -> GetNatGatewayArgsBuilder<SetSubnetId<S>>where
S::SubnetId: IsUnset,
pub fn subnet_id(
self,
value: impl Into<Output<Option<String>>>,
) -> GetNatGatewayArgsBuilder<SetSubnetId<S>>where
S::SubnetId: IsUnset,
sourcepub fn maybe_subnet_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetNatGatewayArgsBuilder<SetSubnetId<S>>where
S::SubnetId: IsUnset,
pub fn maybe_subnet_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetNatGatewayArgsBuilder<SetSubnetId<S>>where
S::SubnetId: IsUnset,
sourcepub fn vpc_id(
self,
value: impl Into<Output<Option<String>>>,
) -> GetNatGatewayArgsBuilder<SetVpcId<S>>where
S::VpcId: IsUnset,
pub fn vpc_id(
self,
value: impl Into<Output<Option<String>>>,
) -> GetNatGatewayArgsBuilder<SetVpcId<S>>where
S::VpcId: IsUnset,
sourcepub fn maybe_vpc_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetNatGatewayArgsBuilder<SetVpcId<S>>where
S::VpcId: IsUnset,
pub fn maybe_vpc_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetNatGatewayArgsBuilder<SetVpcId<S>>where
S::VpcId: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for GetNatGatewayArgsBuilder<S>
impl<S> RefUnwindSafe for GetNatGatewayArgsBuilder<S>
impl<S> Send for GetNatGatewayArgsBuilder<S>
impl<S> Sync for GetNatGatewayArgsBuilder<S>
impl<S> Unpin for GetNatGatewayArgsBuilder<S>
impl<S> UnwindSafe for GetNatGatewayArgsBuilder<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