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 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 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 build(self) -> VirtualGatewaySpec
pub fn build(self) -> VirtualGatewaySpec
Consumes the builder and constructs a VirtualGatewaySpec.
Trait Implementations§
source§impl Clone for VirtualGatewaySpecBuilder
impl Clone for VirtualGatewaySpecBuilder
source§fn clone(&self) -> VirtualGatewaySpecBuilder
fn clone(&self) -> VirtualGatewaySpecBuilder
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 Debug for VirtualGatewaySpecBuilder
impl Debug for VirtualGatewaySpecBuilder
source§impl Default for VirtualGatewaySpecBuilder
impl Default for VirtualGatewaySpecBuilder
source§fn default() -> VirtualGatewaySpecBuilder
fn default() -> VirtualGatewaySpecBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<VirtualGatewaySpecBuilder> for VirtualGatewaySpecBuilder
impl PartialEq<VirtualGatewaySpecBuilder> for VirtualGatewaySpecBuilder
source§fn eq(&self, other: &VirtualGatewaySpecBuilder) -> bool
fn eq(&self, other: &VirtualGatewaySpecBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for VirtualGatewaySpecBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more