pub struct NewRouter { /* private fields */ }
Expand description
A request to create a router
Implementations§
source§impl NewRouter
impl NewRouter
sourcepub fn set_admin_state_up(&mut self, value: bool)
pub fn set_admin_state_up(&mut self, value: bool)
Set administrative status for the router.
sourcepub fn with_admin_state_up(self, value: bool) -> Self
pub fn with_admin_state_up(self, value: bool) -> Self
Set administrative status for the router.
sourcepub fn set_availability_zone_hints(&mut self, value: Vec<String>)
pub fn set_availability_zone_hints(&mut self, value: Vec<String>)
Set the availability zone candidates for the router.
sourcepub fn with_availability_zone_hints(self, value: Vec<String>) -> Self
pub fn with_availability_zone_hints(self, value: Vec<String>) -> Self
Set the availability zone candidates for the router.
sourcepub fn set_description<S: Into<String>>(&mut self, value: S)
pub fn set_description<S: Into<String>>(&mut self, value: S)
Set description of the router.
sourcepub fn with_description<S: Into<String>>(self, value: S) -> Self
pub fn with_description<S: Into<String>>(self, value: S) -> Self
Set description of the router.
sourcepub fn set_distributed(&mut self, value: bool)
pub fn set_distributed(&mut self, value: bool)
Set whether the router is distributed.
sourcepub fn with_distributed(self, value: bool) -> Self
pub fn with_distributed(self, value: bool) -> Self
Set whether the router is distributed.
sourcepub fn set_external_gateway(&mut self, value: ExternalGateway)
pub fn set_external_gateway(&mut self, value: ExternalGateway)
Set the external gateway information.
sourcepub fn with_external_gateway(self, value: ExternalGateway) -> Self
pub fn with_external_gateway(self, value: ExternalGateway) -> Self
Set the external gateway information.
sourcepub fn set_flavor_id<S: Into<String>>(&mut self, value: S)
pub fn set_flavor_id<S: Into<String>>(&mut self, value: S)
Set the ID of the flavor associated with the router.
sourcepub fn with_flavor_id<S: Into<String>>(self, value: S) -> Self
pub fn with_flavor_id<S: Into<String>>(self, value: S) -> Self
Set the ID of the flavor associated with the router.
sourcepub fn set_project_id<S: Into<String>>(&mut self, value: S)
pub fn set_project_id<S: Into<String>>(&mut self, value: S)
Set a project id for the router.
sourcepub fn with_project_id<S: Into<String>>(self, value: S) -> Self
pub fn with_project_id<S: Into<String>>(self, value: S) -> Self
Set a project id for the router.
sourcepub fn set_service_type_id<S: Into<String>>(&mut self, value: S)
pub fn set_service_type_id<S: Into<String>>(&mut self, value: S)
Set the ID of the service type associated with the router.
sourcepub fn with_service_type_id<S: Into<String>>(self, value: S) -> Self
pub fn with_service_type_id<S: Into<String>>(self, value: S) -> Self
Set the ID of the service type associated with the router.