pub struct SolarisAnetBuilder { /* private fields */ }
Expand description
Builder for SolarisAnet
.
Implementations§
Source§impl SolarisAnetBuilder
impl SolarisAnetBuilder
Sourcepub fn linkname<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn linkname<VALUE: Into<String>>(self, value: VALUE) -> Self
Specify a name for the automatically created VNIC datalink.
Sourcepub fn lower_link<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn lower_link<VALUE: Into<String>>(self, value: VALUE) -> Self
Specify the link over which the VNIC will be created.
Sourcepub fn allowed_address<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn allowed_address<VALUE: Into<String>>(self, value: VALUE) -> Self
The set of IP addresses that the container can use.
Sourcepub fn configure_allowed_address<VALUE: Into<String>>(
self,
value: VALUE,
) -> Self
pub fn configure_allowed_address<VALUE: Into<String>>( self, value: VALUE, ) -> Self
Specifies whether allowedAddress limitation is to be applied to the VNIC.
Sourcepub fn defrouter<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn defrouter<VALUE: Into<String>>(self, value: VALUE) -> Self
The value of the optional default router.
Sourcepub fn link_protection<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn link_protection<VALUE: Into<String>>(self, value: VALUE) -> Self
Enable one or more types of link protection.
Sourcepub fn mac_address<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn mac_address<VALUE: Into<String>>(self, value: VALUE) -> Self
Set the VNIC’s macAddress.
Sourcepub fn build(self) -> Result<SolarisAnet, OciSpecError>
pub fn build(self) -> Result<SolarisAnet, OciSpecError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SolarisAnetBuilder
impl RefUnwindSafe for SolarisAnetBuilder
impl Send for SolarisAnetBuilder
impl Sync for SolarisAnetBuilder
impl Unpin for SolarisAnetBuilder
impl UnwindSafe for SolarisAnetBuilder
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