Struct aws_sdk_appmesh::types::builders::RouteDataBuilder
source · #[non_exhaustive]pub struct RouteDataBuilder { /* private fields */ }
Expand description
A builder for RouteData
.
Implementations§
source§impl RouteDataBuilder
impl RouteDataBuilder
sourcepub fn mesh_name(self, input: impl Into<String>) -> Self
pub fn mesh_name(self, input: impl Into<String>) -> Self
The name of the service mesh that the route resides in.
This field is required.sourcepub fn set_mesh_name(self, input: Option<String>) -> Self
pub fn set_mesh_name(self, input: Option<String>) -> Self
The name of the service mesh that the route resides in.
sourcepub fn get_mesh_name(&self) -> &Option<String>
pub fn get_mesh_name(&self) -> &Option<String>
The name of the service mesh that the route resides in.
sourcepub fn virtual_router_name(self, input: impl Into<String>) -> Self
pub fn virtual_router_name(self, input: impl Into<String>) -> Self
The virtual router that the route is associated with.
This field is required.sourcepub fn set_virtual_router_name(self, input: Option<String>) -> Self
pub fn set_virtual_router_name(self, input: Option<String>) -> Self
The virtual router that the route is associated with.
sourcepub fn get_virtual_router_name(&self) -> &Option<String>
pub fn get_virtual_router_name(&self) -> &Option<String>
The virtual router that the route is associated with.
sourcepub fn route_name(self, input: impl Into<String>) -> Self
pub fn route_name(self, input: impl Into<String>) -> Self
The name of the route.
This field is required.sourcepub fn set_route_name(self, input: Option<String>) -> Self
pub fn set_route_name(self, input: Option<String>) -> Self
The name of the route.
sourcepub fn get_route_name(&self) -> &Option<String>
pub fn get_route_name(&self) -> &Option<String>
The name of the route.
sourcepub fn spec(self, input: RouteSpec) -> Self
pub fn spec(self, input: RouteSpec) -> Self
The specifications of the route.
This field is required.sourcepub fn metadata(self, input: ResourceMetadata) -> Self
pub fn metadata(self, input: ResourceMetadata) -> Self
The associated metadata for the route.
This field is required.sourcepub fn set_metadata(self, input: Option<ResourceMetadata>) -> Self
pub fn set_metadata(self, input: Option<ResourceMetadata>) -> Self
The associated metadata for the route.
sourcepub fn get_metadata(&self) -> &Option<ResourceMetadata>
pub fn get_metadata(&self) -> &Option<ResourceMetadata>
The associated metadata for the route.
sourcepub fn status(self, input: RouteStatus) -> Self
pub fn status(self, input: RouteStatus) -> Self
The status of the route.
This field is required.sourcepub fn set_status(self, input: Option<RouteStatus>) -> Self
pub fn set_status(self, input: Option<RouteStatus>) -> Self
The status of the route.
sourcepub fn get_status(&self) -> &Option<RouteStatus>
pub fn get_status(&self) -> &Option<RouteStatus>
The status of the route.
Trait Implementations§
source§impl Clone for RouteDataBuilder
impl Clone for RouteDataBuilder
source§fn clone(&self) -> RouteDataBuilder
fn clone(&self) -> RouteDataBuilder
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 RouteDataBuilder
impl Debug for RouteDataBuilder
source§impl Default for RouteDataBuilder
impl Default for RouteDataBuilder
source§fn default() -> RouteDataBuilder
fn default() -> RouteDataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RouteDataBuilder
impl PartialEq for RouteDataBuilder
source§fn eq(&self, other: &RouteDataBuilder) -> bool
fn eq(&self, other: &RouteDataBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RouteDataBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RouteDataBuilder
impl Send for RouteDataBuilder
impl Sync for RouteDataBuilder
impl Unpin for RouteDataBuilder
impl UnwindSafe for RouteDataBuilder
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> 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>
Creates a shared type from an unshared type.