Struct aws_sdk_appmesh::types::builders::GrpcRouteMatchBuilder
source · #[non_exhaustive]pub struct GrpcRouteMatchBuilder { /* private fields */ }
Expand description
A builder for GrpcRouteMatch
.
Implementations§
source§impl GrpcRouteMatchBuilder
impl GrpcRouteMatchBuilder
sourcepub fn service_name(self, input: impl Into<String>) -> Self
pub fn service_name(self, input: impl Into<String>) -> Self
The fully qualified domain name for the service to match from the request.
sourcepub fn set_service_name(self, input: Option<String>) -> Self
pub fn set_service_name(self, input: Option<String>) -> Self
The fully qualified domain name for the service to match from the request.
sourcepub fn get_service_name(&self) -> &Option<String>
pub fn get_service_name(&self) -> &Option<String>
The fully qualified domain name for the service to match from the request.
sourcepub fn method_name(self, input: impl Into<String>) -> Self
pub fn method_name(self, input: impl Into<String>) -> Self
The method name to match from the request. If you specify a name, you must also specify a serviceName
.
sourcepub fn set_method_name(self, input: Option<String>) -> Self
pub fn set_method_name(self, input: Option<String>) -> Self
The method name to match from the request. If you specify a name, you must also specify a serviceName
.
sourcepub fn get_method_name(&self) -> &Option<String>
pub fn get_method_name(&self) -> &Option<String>
The method name to match from the request. If you specify a name, you must also specify a serviceName
.
sourcepub fn metadata(self, input: GrpcRouteMetadata) -> Self
pub fn metadata(self, input: GrpcRouteMetadata) -> Self
Appends an item to metadata
.
To override the contents of this collection use set_metadata
.
An object that represents the data to match from the request.
sourcepub fn set_metadata(self, input: Option<Vec<GrpcRouteMetadata>>) -> Self
pub fn set_metadata(self, input: Option<Vec<GrpcRouteMetadata>>) -> Self
An object that represents the data to match from the request.
sourcepub fn get_metadata(&self) -> &Option<Vec<GrpcRouteMetadata>>
pub fn get_metadata(&self) -> &Option<Vec<GrpcRouteMetadata>>
An object that represents the data to match from the request.
sourcepub fn build(self) -> GrpcRouteMatch
pub fn build(self) -> GrpcRouteMatch
Consumes the builder and constructs a GrpcRouteMatch
.
Trait Implementations§
source§impl Clone for GrpcRouteMatchBuilder
impl Clone for GrpcRouteMatchBuilder
source§fn clone(&self) -> GrpcRouteMatchBuilder
fn clone(&self) -> GrpcRouteMatchBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GrpcRouteMatchBuilder
impl Debug for GrpcRouteMatchBuilder
source§impl Default for GrpcRouteMatchBuilder
impl Default for GrpcRouteMatchBuilder
source§fn default() -> GrpcRouteMatchBuilder
fn default() -> GrpcRouteMatchBuilder
source§impl PartialEq<GrpcRouteMatchBuilder> for GrpcRouteMatchBuilder
impl PartialEq<GrpcRouteMatchBuilder> for GrpcRouteMatchBuilder
source§fn eq(&self, other: &GrpcRouteMatchBuilder) -> bool
fn eq(&self, other: &GrpcRouteMatchBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.