Struct aws_sdk_appmesh::model::virtual_router_spec::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for VirtualRouterSpec
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn listeners(self, input: VirtualRouterListener) -> Self
pub fn listeners(self, input: VirtualRouterListener) -> Self
Appends an item to listeners
.
To override the contents of this collection use set_listeners
.
The listeners that the virtual router is expected to receive inbound traffic from. You can specify one listener.
sourcepub fn set_listeners(self, input: Option<Vec<VirtualRouterListener>>) -> Self
pub fn set_listeners(self, input: Option<Vec<VirtualRouterListener>>) -> Self
The listeners that the virtual router is expected to receive inbound traffic from. You can specify one listener.
sourcepub fn build(self) -> VirtualRouterSpec
pub fn build(self) -> VirtualRouterSpec
Consumes the builder and constructs a VirtualRouterSpec
.