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)>

source

pub fn build_struct(self) -> GetNetworkIpamConfig
where __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.

source

pub fn maybe_aux_address( self, value: Option<impl Into<Box<Option<HashMap<String, String>>>>>, ) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::AuxAddress
where __AuxAddress: IsUnset,

Same as [Self::r#aux_address], but accepts an Option as input. See that method’s documentation for more details.

source

pub fn aux_address( self, value: impl Into<Box<Option<HashMap<String, String>>>>, ) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::AuxAddress
where __AuxAddress: IsUnset,

Auxiliary IPv4 or IPv6 addresses used by Network driver

source

pub fn maybe_gateway( self, value: Option<impl Into<Box<Option<String>>>>, ) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::Gateway
where __Gateway: IsUnset,

Same as [Self::r#gateway], but accepts an Option as input. See that method’s documentation for more details.

source

pub fn gateway( self, value: impl Into<Box<Option<String>>>, ) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::Gateway
where __Gateway: IsUnset,

The IP address of the gateway

source

pub fn maybe_ip_range( self, value: Option<impl Into<Box<Option<String>>>>, ) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::IpRange
where __IpRange: IsUnset,

Same as [Self::r#ip_range], but accepts an Option as input. See that method’s documentation for more details.

source

pub fn ip_range( self, value: impl Into<Box<Option<String>>>, ) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::IpRange
where __IpRange: IsUnset,

The ip range in CIDR form

source

pub fn maybe_subnet( self, value: Option<impl Into<Box<Option<String>>>>, ) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::Subnet
where __Subnet: IsUnset,

Same as [Self::r#subnet], but accepts an Option as input. See that method’s documentation for more details.

source

pub fn subnet( self, value: impl Into<Box<Option<String>>>, ) -> <Self as __GetNetworkIpamConfigBuilderSetMember>::Subnet
where __Subnet: IsUnset,

The subnet 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> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.