Struct aws_sdk_appmesh::model::virtual_gateway_spec::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for VirtualGatewaySpec
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn backend_defaults(self, input: VirtualGatewayBackendDefaults) -> Self
pub fn backend_defaults(self, input: VirtualGatewayBackendDefaults) -> Self
A reference to an object that represents the defaults for backends.
sourcepub fn set_backend_defaults(
self,
input: Option<VirtualGatewayBackendDefaults>
) -> Self
pub fn set_backend_defaults(
self,
input: Option<VirtualGatewayBackendDefaults>
) -> Self
A reference to an object that represents the defaults for backends.
sourcepub fn listeners(self, input: VirtualGatewayListener) -> Self
pub fn listeners(self, input: VirtualGatewayListener) -> Self
Appends an item to listeners
.
To override the contents of this collection use set_listeners
.
The listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one listener.
sourcepub fn set_listeners(self, input: Option<Vec<VirtualGatewayListener>>) -> Self
pub fn set_listeners(self, input: Option<Vec<VirtualGatewayListener>>) -> Self
The listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one listener.
sourcepub fn logging(self, input: VirtualGatewayLogging) -> Self
pub fn logging(self, input: VirtualGatewayLogging) -> Self
An object that represents logging information.
sourcepub fn set_logging(self, input: Option<VirtualGatewayLogging>) -> Self
pub fn set_logging(self, input: Option<VirtualGatewayLogging>) -> Self
An object that represents logging information.
sourcepub fn build(self) -> VirtualGatewaySpec
pub fn build(self) -> VirtualGatewaySpec
Consumes the builder and constructs a VirtualGatewaySpec
.