Struct aws_sdk_appmesh::model::virtual_gateway_data::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for VirtualGatewayData
.
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 gateway 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 gateway resides in.
sourcepub fn virtual_gateway_name(self, input: impl Into<String>) -> Self
pub fn virtual_gateway_name(self, input: impl Into<String>) -> Self
The name of the virtual gateway.
sourcepub fn set_virtual_gateway_name(self, input: Option<String>) -> Self
pub fn set_virtual_gateway_name(self, input: Option<String>) -> Self
The name of the virtual gateway.
sourcepub fn spec(self, input: VirtualGatewaySpec) -> Self
pub fn spec(self, input: VirtualGatewaySpec) -> Self
The specifications of the virtual gateway.
sourcepub fn set_spec(self, input: Option<VirtualGatewaySpec>) -> Self
pub fn set_spec(self, input: Option<VirtualGatewaySpec>) -> Self
The specifications of the virtual gateway.
sourcepub fn metadata(self, input: ResourceMetadata) -> Self
pub fn metadata(self, input: ResourceMetadata) -> Self
An object that represents metadata for a resource.
sourcepub fn set_metadata(self, input: Option<ResourceMetadata>) -> Self
pub fn set_metadata(self, input: Option<ResourceMetadata>) -> Self
An object that represents metadata for a resource.
sourcepub fn status(self, input: VirtualGatewayStatus) -> Self
pub fn status(self, input: VirtualGatewayStatus) -> Self
The current status of the virtual gateway.
sourcepub fn set_status(self, input: Option<VirtualGatewayStatus>) -> Self
pub fn set_status(self, input: Option<VirtualGatewayStatus>) -> Self
The current status of the virtual gateway.
sourcepub fn build(self) -> VirtualGatewayData
pub fn build(self) -> VirtualGatewayData
Consumes the builder and constructs a VirtualGatewayData
.