Struct aws_sdk_appmesh::model::tcp_route::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TcpRoute
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn action(self, input: TcpRouteAction) -> Self
pub fn action(self, input: TcpRouteAction) -> Self
The action to take if a match is determined.
sourcepub fn set_action(self, input: Option<TcpRouteAction>) -> Self
pub fn set_action(self, input: Option<TcpRouteAction>) -> Self
The action to take if a match is determined.
sourcepub fn timeout(self, input: TcpTimeout) -> Self
pub fn timeout(self, input: TcpTimeout) -> Self
An object that represents types of timeouts.
sourcepub fn set_timeout(self, input: Option<TcpTimeout>) -> Self
pub fn set_timeout(self, input: Option<TcpTimeout>) -> Self
An object that represents types of timeouts.
sourcepub fn match(self, input: TcpRouteMatch) -> Self
pub fn match(self, input: TcpRouteMatch) -> Self
An object that represents the criteria for determining a request match.
sourcepub fn set_match(self, input: Option<TcpRouteMatch>) -> Self
pub fn set_match(self, input: Option<TcpRouteMatch>) -> Self
An object that represents the criteria for determining a request match.