Struct aws_sdk_mediaconnect::types::builders::GatewayBuilder
source · #[non_exhaustive]pub struct GatewayBuilder { /* private fields */ }Expand description
A builder for Gateway.
Implementations§
source§impl GatewayBuilder
impl GatewayBuilder
sourcepub fn egress_cidr_blocks(self, input: impl Into<String>) -> Self
pub fn egress_cidr_blocks(self, input: impl Into<String>) -> Self
Appends an item to egress_cidr_blocks.
To override the contents of this collection use set_egress_cidr_blocks.
The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
sourcepub fn set_egress_cidr_blocks(self, input: Option<Vec<String>>) -> Self
pub fn set_egress_cidr_blocks(self, input: Option<Vec<String>>) -> Self
The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
sourcepub fn get_egress_cidr_blocks(&self) -> &Option<Vec<String>>
pub fn get_egress_cidr_blocks(&self) -> &Option<Vec<String>>
The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
sourcepub fn gateway_arn(self, input: impl Into<String>) -> Self
pub fn gateway_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the gateway. This field is required.
sourcepub fn set_gateway_arn(self, input: Option<String>) -> Self
pub fn set_gateway_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the gateway.
sourcepub fn get_gateway_arn(&self) -> &Option<String>
pub fn get_gateway_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the gateway.
sourcepub fn gateway_messages(self, input: MessageDetail) -> Self
pub fn gateway_messages(self, input: MessageDetail) -> Self
Appends an item to gateway_messages.
To override the contents of this collection use set_gateway_messages.
pub fn set_gateway_messages(self, input: Option<Vec<MessageDetail>>) -> Self
pub fn get_gateway_messages(&self) -> &Option<Vec<MessageDetail>>
sourcepub fn gateway_state(self, input: GatewayState) -> Self
pub fn gateway_state(self, input: GatewayState) -> Self
The current status of the gateway.
sourcepub fn set_gateway_state(self, input: Option<GatewayState>) -> Self
pub fn set_gateway_state(self, input: Option<GatewayState>) -> Self
The current status of the gateway.
sourcepub fn get_gateway_state(&self) -> &Option<GatewayState>
pub fn get_gateway_state(&self) -> &Option<GatewayState>
The current status of the gateway.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the gateway. This name can not be modified after the gateway is created. This field is required.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the gateway. This name can not be modified after the gateway is created.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the gateway. This name can not be modified after the gateway is created.
sourcepub fn networks(self, input: GatewayNetwork) -> Self
pub fn networks(self, input: GatewayNetwork) -> Self
Appends an item to networks.
To override the contents of this collection use set_networks.
The list of networks in the gateway.
sourcepub fn set_networks(self, input: Option<Vec<GatewayNetwork>>) -> Self
pub fn set_networks(self, input: Option<Vec<GatewayNetwork>>) -> Self
The list of networks in the gateway.
sourcepub fn get_networks(&self) -> &Option<Vec<GatewayNetwork>>
pub fn get_networks(&self) -> &Option<Vec<GatewayNetwork>>
The list of networks in the gateway.
Trait Implementations§
source§impl Clone for GatewayBuilder
impl Clone for GatewayBuilder
source§fn clone(&self) -> GatewayBuilder
fn clone(&self) -> GatewayBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GatewayBuilder
impl Debug for GatewayBuilder
source§impl Default for GatewayBuilder
impl Default for GatewayBuilder
source§fn default() -> GatewayBuilder
fn default() -> GatewayBuilder
source§impl PartialEq for GatewayBuilder
impl PartialEq for GatewayBuilder
source§fn eq(&self, other: &GatewayBuilder) -> bool
fn eq(&self, other: &GatewayBuilder) -> bool
self and other values to be equal, and is used
by ==.