Struct aws_sdk_appmesh::types::builders::RouteRefBuilder
source · #[non_exhaustive]pub struct RouteRefBuilder { /* private fields */ }
Expand description
A builder for RouteRef
.
Implementations§
source§impl RouteRefBuilder
impl RouteRefBuilder
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 mesh_owner(self, input: impl Into<String>) -> Self
pub fn mesh_owner(self, input: impl Into<String>) -> Self
The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
This field is required.sourcepub fn set_mesh_owner(self, input: Option<String>) -> Self
pub fn set_mesh_owner(self, input: Option<String>) -> Self
The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
sourcepub fn get_mesh_owner(&self) -> &Option<String>
pub fn get_mesh_owner(&self) -> &Option<String>
The Amazon Web Services IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
sourcepub fn resource_owner(self, input: impl Into<String>) -> Self
pub fn resource_owner(self, input: impl Into<String>) -> Self
The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it's the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.
This field is required.sourcepub fn set_resource_owner(self, input: Option<String>) -> Self
pub fn set_resource_owner(self, input: Option<String>) -> Self
The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it's the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.
sourcepub fn get_resource_owner(&self) -> &Option<String>
pub fn get_resource_owner(&self) -> &Option<String>
The Amazon Web Services IAM account ID of the resource owner. If the account ID is not your own, then it's the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The full Amazon Resource Name (ARN) for the route.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The full Amazon Resource Name (ARN) for the route.
sourcepub fn version(self, input: i64) -> Self
pub fn version(self, input: i64) -> Self
The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.
This field is required.sourcepub fn set_version(self, input: Option<i64>) -> Self
pub fn set_version(self, input: Option<i64>) -> Self
The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.
sourcepub fn get_version(&self) -> &Option<i64>
pub fn get_version(&self) -> &Option<i64>
The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The Unix epoch timestamp in seconds for when the resource was created.
This field is required.sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The Unix epoch timestamp in seconds for when the resource was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The Unix epoch timestamp in seconds for when the resource was created.
sourcepub fn last_updated_at(self, input: DateTime) -> Self
pub fn last_updated_at(self, input: DateTime) -> Self
The Unix epoch timestamp in seconds for when the resource was last updated.
This field is required.sourcepub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_at(self, input: Option<DateTime>) -> Self
The Unix epoch timestamp in seconds for when the resource was last updated.
sourcepub fn get_last_updated_at(&self) -> &Option<DateTime>
pub fn get_last_updated_at(&self) -> &Option<DateTime>
The Unix epoch timestamp in seconds for when the resource was last updated.
Trait Implementations§
source§impl Clone for RouteRefBuilder
impl Clone for RouteRefBuilder
source§fn clone(&self) -> RouteRefBuilder
fn clone(&self) -> RouteRefBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RouteRefBuilder
impl Debug for RouteRefBuilder
source§impl Default for RouteRefBuilder
impl Default for RouteRefBuilder
source§fn default() -> RouteRefBuilder
fn default() -> RouteRefBuilder
source§impl PartialEq for RouteRefBuilder
impl PartialEq for RouteRefBuilder
source§fn eq(&self, other: &RouteRefBuilder) -> bool
fn eq(&self, other: &RouteRefBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RouteRefBuilder
Auto Trait Implementations§
impl Freeze for RouteRefBuilder
impl RefUnwindSafe for RouteRefBuilder
impl Send for RouteRefBuilder
impl Sync for RouteRefBuilder
impl Unpin for RouteRefBuilder
impl UnwindSafe for RouteRefBuilder
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> 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