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
source§impl PartialEq for VirtualGatewaySpecBuilder
impl PartialEq for VirtualGatewaySpecBuilder
source§fn eq(&self, other: &VirtualGatewaySpecBuilder) -> bool
fn eq(&self, other: &VirtualGatewaySpecBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.