pub struct Builder { /* private fields */ }
Expand description
A builder for HttpGatewayRoutePrefixRewrite
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn default_prefix(self, input: DefaultGatewayRouteRewrite) -> Self
pub fn default_prefix(self, input: DefaultGatewayRouteRewrite) -> Self
The default prefix used to replace the incoming route prefix when rewritten.
sourcepub fn set_default_prefix(
self,
input: Option<DefaultGatewayRouteRewrite>
) -> Self
pub fn set_default_prefix(
self,
input: Option<DefaultGatewayRouteRewrite>
) -> Self
The default prefix used to replace the incoming route prefix when rewritten.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The value used to replace the incoming route prefix when rewritten.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The value used to replace the incoming route prefix when rewritten.
sourcepub fn build(self) -> HttpGatewayRoutePrefixRewrite
pub fn build(self) -> HttpGatewayRoutePrefixRewrite
Consumes the builder and constructs a HttpGatewayRoutePrefixRewrite
.