Struct oci_spec::runtime::SolarisAnetBuilder
source · 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 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