Struct aws_sdk_appmesh::types::builders::VirtualGatewaySpecBuilder
source · #[non_exhaustive]pub struct VirtualGatewaySpecBuilder { /* private fields */ }Expand description
A builder for VirtualGatewaySpec.
Implementations§
source§impl VirtualGatewaySpecBuilder
impl VirtualGatewaySpecBuilder
sourcepub fn backend_defaults(self, input: VirtualGatewayBackendDefaults) -> Self
pub fn backend_defaults(self, input: VirtualGatewayBackendDefaults) -> Self
A reference to an object that represents the defaults for backends.
sourcepub fn set_backend_defaults(
self,
input: Option<VirtualGatewayBackendDefaults>,
) -> Self
pub fn set_backend_defaults( self, input: Option<VirtualGatewayBackendDefaults>, ) -> Self
A reference to an object that represents the defaults for backends.
sourcepub fn get_backend_defaults(&self) -> &Option<VirtualGatewayBackendDefaults>
pub fn get_backend_defaults(&self) -> &Option<VirtualGatewayBackendDefaults>
A reference to an object that represents the defaults for backends.
sourcepub fn listeners(self, input: VirtualGatewayListener) -> Self
pub fn listeners(self, input: VirtualGatewayListener) -> Self
Appends an item to listeners.
To override the contents of this collection use set_listeners.
The listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one listener.
sourcepub fn set_listeners(self, input: Option<Vec<VirtualGatewayListener>>) -> Self
pub fn set_listeners(self, input: Option<Vec<VirtualGatewayListener>>) -> Self
The listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one listener.
sourcepub fn get_listeners(&self) -> &Option<Vec<VirtualGatewayListener>>
pub fn get_listeners(&self) -> &Option<Vec<VirtualGatewayListener>>
The listeners that the mesh endpoint is expected to receive inbound traffic from. You can specify one listener.
sourcepub fn logging(self, input: VirtualGatewayLogging) -> Self
pub fn logging(self, input: VirtualGatewayLogging) -> Self
An object that represents logging information.
sourcepub fn set_logging(self, input: Option<VirtualGatewayLogging>) -> Self
pub fn set_logging(self, input: Option<VirtualGatewayLogging>) -> Self
An object that represents logging information.
sourcepub fn get_logging(&self) -> &Option<VirtualGatewayLogging>
pub fn get_logging(&self) -> &Option<VirtualGatewayLogging>
An object that represents logging information.
sourcepub fn build(self) -> Result<VirtualGatewaySpec, BuildError>
pub fn build(self) -> Result<VirtualGatewaySpec, BuildError>
Consumes the builder and constructs a VirtualGatewaySpec.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for VirtualGatewaySpecBuilder
impl Clone for VirtualGatewaySpecBuilder
source§fn clone(&self) -> VirtualGatewaySpecBuilder
fn clone(&self) -> VirtualGatewaySpecBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VirtualGatewaySpecBuilder
impl Debug for VirtualGatewaySpecBuilder
source§impl Default for VirtualGatewaySpecBuilder
impl Default for VirtualGatewaySpecBuilder
source§fn default() -> VirtualGatewaySpecBuilder
fn default() -> VirtualGatewaySpecBuilder
impl StructuralPartialEq for VirtualGatewaySpecBuilder
Auto Trait Implementations§
impl Freeze for VirtualGatewaySpecBuilder
impl RefUnwindSafe for VirtualGatewaySpecBuilder
impl Send for VirtualGatewaySpecBuilder
impl Sync for VirtualGatewaySpecBuilder
impl Unpin for VirtualGatewaySpecBuilder
impl UnwindSafe for VirtualGatewaySpecBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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