Struct aws_sdk_appmesh::model::virtual_node_data::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for VirtualNodeData
.
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 node 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 node resides in.
sourcepub fn virtual_node_name(self, input: impl Into<String>) -> Self
pub fn virtual_node_name(self, input: impl Into<String>) -> Self
The name of the virtual node.
sourcepub fn set_virtual_node_name(self, input: Option<String>) -> Self
pub fn set_virtual_node_name(self, input: Option<String>) -> Self
The name of the virtual node.
sourcepub fn spec(self, input: VirtualNodeSpec) -> Self
pub fn spec(self, input: VirtualNodeSpec) -> Self
The specifications of the virtual node.
sourcepub fn set_spec(self, input: Option<VirtualNodeSpec>) -> Self
pub fn set_spec(self, input: Option<VirtualNodeSpec>) -> Self
The specifications of the virtual node.
sourcepub fn metadata(self, input: ResourceMetadata) -> Self
pub fn metadata(self, input: ResourceMetadata) -> Self
The associated metadata for the virtual node.
sourcepub fn set_metadata(self, input: Option<ResourceMetadata>) -> Self
pub fn set_metadata(self, input: Option<ResourceMetadata>) -> Self
The associated metadata for the virtual node.
sourcepub fn status(self, input: VirtualNodeStatus) -> Self
pub fn status(self, input: VirtualNodeStatus) -> Self
The current status for the virtual node.
sourcepub fn set_status(self, input: Option<VirtualNodeStatus>) -> Self
pub fn set_status(self, input: Option<VirtualNodeStatus>) -> Self
The current status for the virtual node.
sourcepub fn build(self) -> VirtualNodeData
pub fn build(self) -> VirtualNodeData
Consumes the builder and constructs a VirtualNodeData
.