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 for GrpcRouteMatchBuilder
impl PartialEq for GrpcRouteMatchBuilder
impl StructuralPartialEq for GrpcRouteMatchBuilder
Auto Trait Implementations§
impl Freeze for GrpcRouteMatchBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more