Struct aws_sdk_appmesh::model::virtual_router_data::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for VirtualRouterData
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn mesh_name(self, input: impl Into<String>) -> Self
pub fn mesh_name(self, input: impl Into<String>) -> Self
The name of the service mesh that the virtual router resides in.
sourcepub fn set_mesh_name(self, input: Option<String>) -> Self
pub fn set_mesh_name(self, input: Option<String>) -> Self
The name of the service mesh that the virtual router resides in.
sourcepub fn virtual_router_name(self, input: impl Into<String>) -> Self
pub fn virtual_router_name(self, input: impl Into<String>) -> Self
The name of the virtual router.
sourcepub fn set_virtual_router_name(self, input: Option<String>) -> Self
pub fn set_virtual_router_name(self, input: Option<String>) -> Self
The name of the virtual router.
sourcepub fn spec(self, input: VirtualRouterSpec) -> Self
pub fn spec(self, input: VirtualRouterSpec) -> Self
The specifications of the virtual router.
sourcepub fn set_spec(self, input: Option<VirtualRouterSpec>) -> Self
pub fn set_spec(self, input: Option<VirtualRouterSpec>) -> Self
The specifications of the virtual router.
sourcepub fn metadata(self, input: ResourceMetadata) -> Self
pub fn metadata(self, input: ResourceMetadata) -> Self
The associated metadata for the virtual router.
sourcepub fn set_metadata(self, input: Option<ResourceMetadata>) -> Self
pub fn set_metadata(self, input: Option<ResourceMetadata>) -> Self
The associated metadata for the virtual router.
sourcepub fn status(self, input: VirtualRouterStatus) -> Self
pub fn status(self, input: VirtualRouterStatus) -> Self
The current status of the virtual router.
sourcepub fn set_status(self, input: Option<VirtualRouterStatus>) -> Self
pub fn set_status(self, input: Option<VirtualRouterStatus>) -> Self
The current status of the virtual router.
sourcepub fn build(self) -> VirtualRouterData
pub fn build(self) -> VirtualRouterData
Consumes the builder and constructs a VirtualRouterData
.