Struct aws_sdk_appmesh::types::builders::VirtualNodeRefBuilder
source · #[non_exhaustive]pub struct VirtualNodeRefBuilder { /* private fields */ }
Expand description
A builder for VirtualNodeRef
.
Implementations§
source§impl VirtualNodeRefBuilder
impl VirtualNodeRefBuilder
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 virtual node 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 virtual node 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 virtual node resides in.
sourcepub fn virtual_node_name(self, input: impl Into<String>) -> Self
pub fn virtual_node_name(self, input: impl Into<String>) -> Self
The name of the virtual node.
This field is required.sourcepub fn set_virtual_node_name(self, input: Option<String>) -> Self
pub fn set_virtual_node_name(self, input: Option<String>) -> Self
The name of the virtual node.
sourcepub fn get_virtual_node_name(&self) -> &Option<String>
pub fn get_virtual_node_name(&self) -> &Option<String>
The name of the virtual node.
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 virtual node.
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 virtual node.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The full Amazon Resource Name (ARN) for the virtual node.
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.
sourcepub fn build(self) -> Result<VirtualNodeRef, BuildError>
pub fn build(self) -> Result<VirtualNodeRef, BuildError>
Consumes the builder and constructs a VirtualNodeRef
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for VirtualNodeRefBuilder
impl Clone for VirtualNodeRefBuilder
source§fn clone(&self) -> VirtualNodeRefBuilder
fn clone(&self) -> VirtualNodeRefBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VirtualNodeRefBuilder
impl Debug for VirtualNodeRefBuilder
source§impl Default for VirtualNodeRefBuilder
impl Default for VirtualNodeRefBuilder
source§fn default() -> VirtualNodeRefBuilder
fn default() -> VirtualNodeRefBuilder
source§impl PartialEq for VirtualNodeRefBuilder
impl PartialEq for VirtualNodeRefBuilder
source§fn eq(&self, other: &VirtualNodeRefBuilder) -> bool
fn eq(&self, other: &VirtualNodeRefBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VirtualNodeRefBuilder
Auto Trait Implementations§
impl Freeze for VirtualNodeRefBuilder
impl RefUnwindSafe for VirtualNodeRefBuilder
impl Send for VirtualNodeRefBuilder
impl Sync for VirtualNodeRefBuilder
impl Unpin for VirtualNodeRefBuilder
impl UnwindSafe for VirtualNodeRefBuilder
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