pub struct GetNetworkIpamConfigBuilder<___State = __GetNetworkIpamConfigBuilderInitialState> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build_struct()
.
Implementations§
source§impl<__AuxAddress, __Gateway, __IpRange, __Subnet> GetNetworkIpamConfigBuilder<(__AuxAddress, __Gateway, __IpRange, __Subnet)>
impl<__AuxAddress, __Gateway, __IpRange, __Subnet> GetNetworkIpamConfigBuilder<(__AuxAddress, __Gateway, __IpRange, __Subnet)>
sourcepub fn build_struct(self) -> GetNetworkIpamConfigwhere
__AuxAddress: IntoSet<Option<Box<Option<HashMap<String, String>>>>, GetNetworkIpamConfigBuilder__aux_address>,
__Gateway: IntoSet<Option<Box<Option<String>>>, GetNetworkIpamConfigBuilder__gateway>,
__IpRange: IntoSet<Option<Box<Option<String>>>, GetNetworkIpamConfigBuilder__ip_range>,
__Subnet: IntoSet<Option<Box<Option<String>>>, GetNetworkIpamConfigBuilder__subnet>,
pub fn build_struct(self) -> GetNetworkIpamConfigwhere
__AuxAddress: IntoSet<Option<Box<Option<HashMap<String, String>>>>, GetNetworkIpamConfigBuilder__aux_address>,
__Gateway: IntoSet<Option<Box<Option<String>>>, GetNetworkIpamConfigBuilder__gateway>,
__IpRange: IntoSet<Option<Box<Option<String>>>, GetNetworkIpamConfigBuilder__ip_range>,
__Subnet: IntoSet<Option<Box<Option<String>>>, GetNetworkIpamConfigBuilder__subnet>,
Finishes building and returns the requested object.
sourcepub fn maybe_aux_address(
self,
value: Option<impl Into<Box<Option<HashMap<String, String>>>>>,
) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::AuxAddresswhere
__AuxAddress: IsUnset,
pub fn maybe_aux_address(
self,
value: Option<impl Into<Box<Option<HashMap<String, String>>>>>,
) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::AuxAddresswhere
__AuxAddress: IsUnset,
Same as [Self::r#aux_address
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn aux_address(
self,
value: impl Into<Box<Option<HashMap<String, String>>>>,
) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::AuxAddresswhere
__AuxAddress: IsUnset,
pub fn aux_address(
self,
value: impl Into<Box<Option<HashMap<String, String>>>>,
) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::AuxAddresswhere
__AuxAddress: IsUnset,
Auxiliary IPv4 or IPv6 addresses used by Network driver
sourcepub fn maybe_gateway(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::Gatewaywhere
__Gateway: IsUnset,
pub fn maybe_gateway(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::Gatewaywhere
__Gateway: IsUnset,
Same as [Self::r#gateway
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn gateway(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::Gatewaywhere
__Gateway: IsUnset,
pub fn gateway(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::Gatewaywhere
__Gateway: IsUnset,
The IP address of the gateway
sourcepub fn maybe_ip_range(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::IpRangewhere
__IpRange: IsUnset,
pub fn maybe_ip_range(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::IpRangewhere
__IpRange: IsUnset,
Same as [Self::r#ip_range
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn ip_range(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::IpRangewhere
__IpRange: IsUnset,
pub fn ip_range(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::IpRangewhere
__IpRange: IsUnset,
The ip range in CIDR form
Auto Trait Implementations§
impl<___State> Freeze for GetNetworkIpamConfigBuilder<___State>where
___State: Freeze,
impl<___State> RefUnwindSafe for GetNetworkIpamConfigBuilder<___State>where
___State: RefUnwindSafe,
impl<___State> Send for GetNetworkIpamConfigBuilder<___State>where
___State: Send,
impl<___State> Sync for GetNetworkIpamConfigBuilder<___State>where
___State: Sync,
impl<___State> Unpin for GetNetworkIpamConfigBuilder<___State>where
___State: Unpin,
impl<___State> UnwindSafe for GetNetworkIpamConfigBuilder<___State>where
___State: UnwindSafe,
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