Struct aws_sdk_securityhub::types::builders::RouteSetDetailsBuilder
source · #[non_exhaustive]pub struct RouteSetDetailsBuilder { /* private fields */ }
Expand description
A builder for RouteSetDetails
.
Implementations§
source§impl RouteSetDetailsBuilder
impl RouteSetDetailsBuilder
sourcepub fn carrier_gateway_id(self, input: impl Into<String>) -> Self
pub fn carrier_gateway_id(self, input: impl Into<String>) -> Self
The ID of the carrier gateway.
sourcepub fn set_carrier_gateway_id(self, input: Option<String>) -> Self
pub fn set_carrier_gateway_id(self, input: Option<String>) -> Self
The ID of the carrier gateway.
sourcepub fn get_carrier_gateway_id(&self) -> &Option<String>
pub fn get_carrier_gateway_id(&self) -> &Option<String>
The ID of the carrier gateway.
sourcepub fn core_network_arn(self, input: impl Into<String>) -> Self
pub fn core_network_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the core network.
sourcepub fn set_core_network_arn(self, input: Option<String>) -> Self
pub fn set_core_network_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the core network.
sourcepub fn get_core_network_arn(&self) -> &Option<String>
pub fn get_core_network_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the core network.
sourcepub fn destination_cidr_block(self, input: impl Into<String>) -> Self
pub fn destination_cidr_block(self, input: impl Into<String>) -> Self
The IPv4 CIDR block used for the destination match.
sourcepub fn set_destination_cidr_block(self, input: Option<String>) -> Self
pub fn set_destination_cidr_block(self, input: Option<String>) -> Self
The IPv4 CIDR block used for the destination match.
sourcepub fn get_destination_cidr_block(&self) -> &Option<String>
pub fn get_destination_cidr_block(&self) -> &Option<String>
The IPv4 CIDR block used for the destination match.
sourcepub fn destination_ipv6_cidr_block(self, input: impl Into<String>) -> Self
pub fn destination_ipv6_cidr_block(self, input: impl Into<String>) -> Self
The IPv6 CIDR block used for the destination match.
sourcepub fn set_destination_ipv6_cidr_block(self, input: Option<String>) -> Self
pub fn set_destination_ipv6_cidr_block(self, input: Option<String>) -> Self
The IPv6 CIDR block used for the destination match.
sourcepub fn get_destination_ipv6_cidr_block(&self) -> &Option<String>
pub fn get_destination_ipv6_cidr_block(&self) -> &Option<String>
The IPv6 CIDR block used for the destination match.
sourcepub fn destination_prefix_list_id(self, input: impl Into<String>) -> Self
pub fn destination_prefix_list_id(self, input: impl Into<String>) -> Self
The prefix of the destination Amazon Web Service.
sourcepub fn set_destination_prefix_list_id(self, input: Option<String>) -> Self
pub fn set_destination_prefix_list_id(self, input: Option<String>) -> Self
The prefix of the destination Amazon Web Service.
sourcepub fn get_destination_prefix_list_id(&self) -> &Option<String>
pub fn get_destination_prefix_list_id(&self) -> &Option<String>
The prefix of the destination Amazon Web Service.
sourcepub fn egress_only_internet_gateway_id(self, input: impl Into<String>) -> Self
pub fn egress_only_internet_gateway_id(self, input: impl Into<String>) -> Self
The ID of the egress-only internet gateway.
sourcepub fn set_egress_only_internet_gateway_id(self, input: Option<String>) -> Self
pub fn set_egress_only_internet_gateway_id(self, input: Option<String>) -> Self
The ID of the egress-only internet gateway.
sourcepub fn get_egress_only_internet_gateway_id(&self) -> &Option<String>
pub fn get_egress_only_internet_gateway_id(&self) -> &Option<String>
The ID of the egress-only internet gateway.
sourcepub fn gateway_id(self, input: impl Into<String>) -> Self
pub fn gateway_id(self, input: impl Into<String>) -> Self
The ID of a gateway attached to your VPC.
sourcepub fn set_gateway_id(self, input: Option<String>) -> Self
pub fn set_gateway_id(self, input: Option<String>) -> Self
The ID of a gateway attached to your VPC.
sourcepub fn get_gateway_id(&self) -> &Option<String>
pub fn get_gateway_id(&self) -> &Option<String>
The ID of a gateway attached to your VPC.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of a NAT instance in your VPC.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of a NAT instance in your VPC.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The ID of a NAT instance in your VPC.
sourcepub fn instance_owner_id(self, input: impl Into<String>) -> Self
pub fn instance_owner_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the instance.
sourcepub fn set_instance_owner_id(self, input: Option<String>) -> Self
pub fn set_instance_owner_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the instance.
sourcepub fn get_instance_owner_id(&self) -> &Option<String>
pub fn get_instance_owner_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that owns the instance.
sourcepub fn local_gateway_id(self, input: impl Into<String>) -> Self
pub fn local_gateway_id(self, input: impl Into<String>) -> Self
The ID of the local gateway.
sourcepub fn set_local_gateway_id(self, input: Option<String>) -> Self
pub fn set_local_gateway_id(self, input: Option<String>) -> Self
The ID of the local gateway.
sourcepub fn get_local_gateway_id(&self) -> &Option<String>
pub fn get_local_gateway_id(&self) -> &Option<String>
The ID of the local gateway.
sourcepub fn nat_gateway_id(self, input: impl Into<String>) -> Self
pub fn nat_gateway_id(self, input: impl Into<String>) -> Self
The ID of a NAT gateway.
sourcepub fn set_nat_gateway_id(self, input: Option<String>) -> Self
pub fn set_nat_gateway_id(self, input: Option<String>) -> Self
The ID of a NAT gateway.
sourcepub fn get_nat_gateway_id(&self) -> &Option<String>
pub fn get_nat_gateway_id(&self) -> &Option<String>
The ID of a NAT gateway.
sourcepub fn network_interface_id(self, input: impl Into<String>) -> Self
pub fn network_interface_id(self, input: impl Into<String>) -> Self
The ID of the network interface.
sourcepub fn set_network_interface_id(self, input: Option<String>) -> Self
pub fn set_network_interface_id(self, input: Option<String>) -> Self
The ID of the network interface.
sourcepub fn get_network_interface_id(&self) -> &Option<String>
pub fn get_network_interface_id(&self) -> &Option<String>
The ID of the network interface.
sourcepub fn set_origin(self, input: Option<String>) -> Self
pub fn set_origin(self, input: Option<String>) -> Self
Describes how the route was created.
sourcepub fn get_origin(&self) -> &Option<String>
pub fn get_origin(&self) -> &Option<String>
Describes how the route was created.
sourcepub fn transit_gateway_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_id(self, input: impl Into<String>) -> Self
The ID of a transit gateway.
sourcepub fn set_transit_gateway_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_id(self, input: Option<String>) -> Self
The ID of a transit gateway.
sourcepub fn get_transit_gateway_id(&self) -> &Option<String>
pub fn get_transit_gateway_id(&self) -> &Option<String>
The ID of a transit gateway.
sourcepub fn vpc_peering_connection_id(self, input: impl Into<String>) -> Self
pub fn vpc_peering_connection_id(self, input: impl Into<String>) -> Self
The ID of a VPC peering connection.
sourcepub fn set_vpc_peering_connection_id(self, input: Option<String>) -> Self
pub fn set_vpc_peering_connection_id(self, input: Option<String>) -> Self
The ID of a VPC peering connection.
sourcepub fn get_vpc_peering_connection_id(&self) -> &Option<String>
pub fn get_vpc_peering_connection_id(&self) -> &Option<String>
The ID of a VPC peering connection.
sourcepub fn build(self) -> RouteSetDetails
pub fn build(self) -> RouteSetDetails
Consumes the builder and constructs a RouteSetDetails
.
Trait Implementations§
source§impl Clone for RouteSetDetailsBuilder
impl Clone for RouteSetDetailsBuilder
source§fn clone(&self) -> RouteSetDetailsBuilder
fn clone(&self) -> RouteSetDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RouteSetDetailsBuilder
impl Debug for RouteSetDetailsBuilder
source§impl Default for RouteSetDetailsBuilder
impl Default for RouteSetDetailsBuilder
source§fn default() -> RouteSetDetailsBuilder
fn default() -> RouteSetDetailsBuilder
source§impl PartialEq for RouteSetDetailsBuilder
impl PartialEq for RouteSetDetailsBuilder
source§fn eq(&self, other: &RouteSetDetailsBuilder) -> bool
fn eq(&self, other: &RouteSetDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RouteSetDetailsBuilder
Auto Trait Implementations§
impl Freeze for RouteSetDetailsBuilder
impl RefUnwindSafe for RouteSetDetailsBuilder
impl Send for RouteSetDetailsBuilder
impl Sync for RouteSetDetailsBuilder
impl Unpin for RouteSetDetailsBuilder
impl UnwindSafe for RouteSetDetailsBuilder
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> 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