Struct aws_sdk_appmesh::types::builders::VirtualRouterDataBuilder   
source · #[non_exhaustive]pub struct VirtualRouterDataBuilder { /* private fields */ }Expand description
A builder for VirtualRouterData.
Implementations§
source§impl VirtualRouterDataBuilder
 
impl VirtualRouterDataBuilder
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 router 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 router 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 router 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 name of the virtual router.
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 name of the virtual router.
sourcepub fn get_virtual_router_name(&self) -> &Option<String>
 
pub fn get_virtual_router_name(&self) -> &Option<String>
The name of the virtual router.
sourcepub fn spec(self, input: VirtualRouterSpec) -> Self
 
pub fn spec(self, input: VirtualRouterSpec) -> Self
The specifications of the virtual router.
This field is required.sourcepub fn set_spec(self, input: Option<VirtualRouterSpec>) -> Self
 
pub fn set_spec(self, input: Option<VirtualRouterSpec>) -> Self
The specifications of the virtual router.
sourcepub fn get_spec(&self) -> &Option<VirtualRouterSpec>
 
pub fn get_spec(&self) -> &Option<VirtualRouterSpec>
The specifications of the virtual router.
sourcepub fn metadata(self, input: ResourceMetadata) -> Self
 
pub fn metadata(self, input: ResourceMetadata) -> Self
The associated metadata for the virtual router.
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 virtual router.
sourcepub fn get_metadata(&self) -> &Option<ResourceMetadata>
 
pub fn get_metadata(&self) -> &Option<ResourceMetadata>
The associated metadata for the virtual router.
sourcepub fn status(self, input: VirtualRouterStatus) -> Self
 
pub fn status(self, input: VirtualRouterStatus) -> Self
The current status of the virtual router.
This field is required.sourcepub fn set_status(self, input: Option<VirtualRouterStatus>) -> Self
 
pub fn set_status(self, input: Option<VirtualRouterStatus>) -> Self
The current status of the virtual router.
sourcepub fn get_status(&self) -> &Option<VirtualRouterStatus>
 
pub fn get_status(&self) -> &Option<VirtualRouterStatus>
The current status of the virtual router.
sourcepub fn build(self) -> Result<VirtualRouterData, BuildError>
 
pub fn build(self) -> Result<VirtualRouterData, BuildError>
Consumes the builder and constructs a VirtualRouterData.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for VirtualRouterDataBuilder
 
impl Clone for VirtualRouterDataBuilder
source§fn clone(&self) -> VirtualRouterDataBuilder
 
fn clone(&self) -> VirtualRouterDataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VirtualRouterDataBuilder
 
impl Debug for VirtualRouterDataBuilder
source§impl Default for VirtualRouterDataBuilder
 
impl Default for VirtualRouterDataBuilder
source§fn default() -> VirtualRouterDataBuilder
 
fn default() -> VirtualRouterDataBuilder
source§impl PartialEq for VirtualRouterDataBuilder
 
impl PartialEq for VirtualRouterDataBuilder
source§fn eq(&self, other: &VirtualRouterDataBuilder) -> bool
 
fn eq(&self, other: &VirtualRouterDataBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for VirtualRouterDataBuilder
Auto Trait Implementations§
impl Freeze for VirtualRouterDataBuilder
impl RefUnwindSafe for VirtualRouterDataBuilder
impl Send for VirtualRouterDataBuilder
impl Sync for VirtualRouterDataBuilder
impl Unpin for VirtualRouterDataBuilder
impl UnwindSafe for VirtualRouterDataBuilder
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> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
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