Struct aws_sdk_appmesh::operation::create_virtual_service::builders::CreateVirtualServiceOutputBuilder
source · #[non_exhaustive]pub struct CreateVirtualServiceOutputBuilder { /* private fields */ }
Expand description
A builder for CreateVirtualServiceOutput
.
Implementations§
source§impl CreateVirtualServiceOutputBuilder
impl CreateVirtualServiceOutputBuilder
sourcepub fn virtual_service(self, input: VirtualServiceData) -> Self
pub fn virtual_service(self, input: VirtualServiceData) -> Self
The full description of your virtual service following the create call.
This field is required.sourcepub fn set_virtual_service(self, input: Option<VirtualServiceData>) -> Self
pub fn set_virtual_service(self, input: Option<VirtualServiceData>) -> Self
The full description of your virtual service following the create call.
sourcepub fn get_virtual_service(&self) -> &Option<VirtualServiceData>
pub fn get_virtual_service(&self) -> &Option<VirtualServiceData>
The full description of your virtual service following the create call.
sourcepub fn build(self) -> CreateVirtualServiceOutput
pub fn build(self) -> CreateVirtualServiceOutput
Consumes the builder and constructs a CreateVirtualServiceOutput
.
Trait Implementations§
source§impl Clone for CreateVirtualServiceOutputBuilder
impl Clone for CreateVirtualServiceOutputBuilder
source§fn clone(&self) -> CreateVirtualServiceOutputBuilder
fn clone(&self) -> CreateVirtualServiceOutputBuilder
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 Default for CreateVirtualServiceOutputBuilder
impl Default for CreateVirtualServiceOutputBuilder
source§fn default() -> CreateVirtualServiceOutputBuilder
fn default() -> CreateVirtualServiceOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateVirtualServiceOutputBuilder
impl PartialEq for CreateVirtualServiceOutputBuilder
source§fn eq(&self, other: &CreateVirtualServiceOutputBuilder) -> bool
fn eq(&self, other: &CreateVirtualServiceOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateVirtualServiceOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateVirtualServiceOutputBuilder
impl RefUnwindSafe for CreateVirtualServiceOutputBuilder
impl Send for CreateVirtualServiceOutputBuilder
impl Sync for CreateVirtualServiceOutputBuilder
impl Unpin for CreateVirtualServiceOutputBuilder
impl UnwindSafe for CreateVirtualServiceOutputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.