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 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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<GrpcRouteMatchBuilder> for GrpcRouteMatchBuilder
impl PartialEq<GrpcRouteMatchBuilder> for GrpcRouteMatchBuilder
source§fn eq(&self, other: &GrpcRouteMatchBuilder) -> bool
fn eq(&self, other: &GrpcRouteMatchBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GrpcRouteMatchBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GrpcRouteMatchBuilder
impl Send for GrpcRouteMatchBuilder
impl Sync for GrpcRouteMatchBuilder
impl Unpin for GrpcRouteMatchBuilder
impl UnwindSafe for GrpcRouteMatchBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more