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