pub struct RouterNatAddressArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> RouterNatAddressArgsBuilder<S>
impl<S: State> RouterNatAddressArgsBuilder<S>
sourcepub fn build_struct(self) -> RouterNatAddressArgswhere
S: IsComplete,
pub fn build_struct(self) -> RouterNatAddressArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn drain_nat_ips(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RouterNatAddressArgsBuilder<SetDrainNatIps<S>>where
S::DrainNatIps: IsUnset,
pub fn drain_nat_ips(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RouterNatAddressArgsBuilder<SetDrainNatIps<S>>where
S::DrainNatIps: IsUnset,
sourcepub fn maybe_drain_nat_ips(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RouterNatAddressArgsBuilder<SetDrainNatIps<S>>where
S::DrainNatIps: IsUnset,
pub fn maybe_drain_nat_ips(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RouterNatAddressArgsBuilder<SetDrainNatIps<S>>where
S::DrainNatIps: IsUnset,
sourcepub fn nat_ips(
self,
value: impl Into<Output<Vec<String>>>,
) -> RouterNatAddressArgsBuilder<SetNatIps<S>>where
S::NatIps: IsUnset,
pub fn nat_ips(
self,
value: impl Into<Output<Vec<String>>>,
) -> RouterNatAddressArgsBuilder<SetNatIps<S>>where
S::NatIps: IsUnset,
Required.
Self-links of NAT IPs to be used in a Nat service. Only valid if the referenced RouterNat natIpAllocateOption is set to MANUAL_ONLY.
sourcepub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterNatAddressArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterNatAddressArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterNatAddressArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterNatAddressArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn region(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterNatAddressArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn region(
self,
value: impl Into<Output<Option<String>>>,
) -> RouterNatAddressArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
sourcepub fn maybe_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterNatAddressArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn maybe_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RouterNatAddressArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
sourcepub fn router(
self,
value: impl Into<Output<String>>,
) -> RouterNatAddressArgsBuilder<SetRouter<S>>where
S::Router: IsUnset,
pub fn router(
self,
value: impl Into<Output<String>>,
) -> RouterNatAddressArgsBuilder<SetRouter<S>>where
S::Router: IsUnset,
Required.
The name of the Cloud Router in which the referenced NAT service is configured.
sourcepub fn router_nat(
self,
value: impl Into<Output<String>>,
) -> RouterNatAddressArgsBuilder<SetRouterNat<S>>where
S::RouterNat: IsUnset,
pub fn router_nat(
self,
value: impl Into<Output<String>>,
) -> RouterNatAddressArgsBuilder<SetRouterNat<S>>where
S::RouterNat: IsUnset,
Required.
The name of the Nat service in which this address will be configured.
Auto Trait Implementations§
impl<S> Freeze for RouterNatAddressArgsBuilder<S>
impl<S> RefUnwindSafe for RouterNatAddressArgsBuilder<S>
impl<S> Send for RouterNatAddressArgsBuilder<S>
impl<S> Sync for RouterNatAddressArgsBuilder<S>
impl<S> Unpin for RouterNatAddressArgsBuilder<S>
impl<S> UnwindSafe for RouterNatAddressArgsBuilder<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