Struct aws_sdk_appmesh::types::builders::GatewayRouteTargetBuilder
source · #[non_exhaustive]pub struct GatewayRouteTargetBuilder { /* private fields */ }Expand description
A builder for GatewayRouteTarget.
Implementations§
source§impl GatewayRouteTargetBuilder
impl GatewayRouteTargetBuilder
sourcepub fn virtual_service(self, input: GatewayRouteVirtualService) -> Self
pub fn virtual_service(self, input: GatewayRouteVirtualService) -> Self
An object that represents a virtual service gateway route target.
This field is required.sourcepub fn set_virtual_service(
self,
input: Option<GatewayRouteVirtualService>,
) -> Self
pub fn set_virtual_service( self, input: Option<GatewayRouteVirtualService>, ) -> Self
An object that represents a virtual service gateway route target.
sourcepub fn get_virtual_service(&self) -> &Option<GatewayRouteVirtualService>
pub fn get_virtual_service(&self) -> &Option<GatewayRouteVirtualService>
An object that represents a virtual service gateway route target.
sourcepub fn build(self) -> GatewayRouteTarget
pub fn build(self) -> GatewayRouteTarget
Consumes the builder and constructs a GatewayRouteTarget.
Trait Implementations§
source§impl Clone for GatewayRouteTargetBuilder
impl Clone for GatewayRouteTargetBuilder
source§fn clone(&self) -> GatewayRouteTargetBuilder
fn clone(&self) -> GatewayRouteTargetBuilder
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 GatewayRouteTargetBuilder
impl Debug for GatewayRouteTargetBuilder
source§impl Default for GatewayRouteTargetBuilder
impl Default for GatewayRouteTargetBuilder
source§fn default() -> GatewayRouteTargetBuilder
fn default() -> GatewayRouteTargetBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for GatewayRouteTargetBuilder
Auto Trait Implementations§
impl Freeze for GatewayRouteTargetBuilder
impl RefUnwindSafe for GatewayRouteTargetBuilder
impl Send for GatewayRouteTargetBuilder
impl Sync for GatewayRouteTargetBuilder
impl Unpin for GatewayRouteTargetBuilder
impl UnwindSafe for GatewayRouteTargetBuilder
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
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.