Struct aws_sdk_appmesh::model::grpc_route_metadata::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GrpcRouteMetadata
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn invert(self, input: bool) -> Self
pub fn invert(self, input: bool) -> Self
Specify True
to match anything except the match criteria. The default value is False
.
sourcepub fn set_invert(self, input: Option<bool>) -> Self
pub fn set_invert(self, input: Option<bool>) -> Self
Specify True
to match anything except the match criteria. The default value is False
.
sourcepub fn match(self, input: GrpcRouteMetadataMatchMethod) -> Self
pub fn match(self, input: GrpcRouteMetadataMatchMethod) -> Self
An object that represents the data to match from the request.
sourcepub fn set_match(self, input: Option<GrpcRouteMetadataMatchMethod>) -> Self
pub fn set_match(self, input: Option<GrpcRouteMetadataMatchMethod>) -> Self
An object that represents the data to match from the request.
sourcepub fn build(self) -> GrpcRouteMetadata
pub fn build(self) -> GrpcRouteMetadata
Consumes the builder and constructs a GrpcRouteMetadata
.