#[non_exhaustive]pub struct TransitGatewayPrefixListReferenceBuilder { /* private fields */ }
Expand description
A builder for TransitGatewayPrefixListReference
.
Implementations§
source§impl TransitGatewayPrefixListReferenceBuilder
impl TransitGatewayPrefixListReferenceBuilder
sourcepub fn transit_gateway_route_table_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_route_table_id(self, input: impl Into<String>) -> Self
The ID of the transit gateway route table.
sourcepub fn set_transit_gateway_route_table_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_route_table_id(self, input: Option<String>) -> Self
The ID of the transit gateway route table.
sourcepub fn get_transit_gateway_route_table_id(&self) -> &Option<String>
pub fn get_transit_gateway_route_table_id(&self) -> &Option<String>
The ID of the transit gateway route table.
sourcepub fn prefix_list_id(self, input: impl Into<String>) -> Self
pub fn prefix_list_id(self, input: impl Into<String>) -> Self
The ID of the prefix list.
sourcepub fn set_prefix_list_id(self, input: Option<String>) -> Self
pub fn set_prefix_list_id(self, input: Option<String>) -> Self
The ID of the prefix list.
sourcepub fn get_prefix_list_id(&self) -> &Option<String>
pub fn get_prefix_list_id(&self) -> &Option<String>
The ID of the prefix list.
sourcepub fn prefix_list_owner_id(self, input: impl Into<String>) -> Self
pub fn prefix_list_owner_id(self, input: impl Into<String>) -> Self
The ID of the prefix list owner.
sourcepub fn set_prefix_list_owner_id(self, input: Option<String>) -> Self
pub fn set_prefix_list_owner_id(self, input: Option<String>) -> Self
The ID of the prefix list owner.
sourcepub fn get_prefix_list_owner_id(&self) -> &Option<String>
pub fn get_prefix_list_owner_id(&self) -> &Option<String>
The ID of the prefix list owner.
sourcepub fn state(self, input: TransitGatewayPrefixListReferenceState) -> Self
pub fn state(self, input: TransitGatewayPrefixListReferenceState) -> Self
The state of the prefix list reference.
sourcepub fn set_state(
self,
input: Option<TransitGatewayPrefixListReferenceState>
) -> Self
pub fn set_state( self, input: Option<TransitGatewayPrefixListReferenceState> ) -> Self
The state of the prefix list reference.
sourcepub fn get_state(&self) -> &Option<TransitGatewayPrefixListReferenceState>
pub fn get_state(&self) -> &Option<TransitGatewayPrefixListReferenceState>
The state of the prefix list reference.
sourcepub fn blackhole(self, input: bool) -> Self
pub fn blackhole(self, input: bool) -> Self
Indicates whether traffic that matches this route is dropped.
sourcepub fn set_blackhole(self, input: Option<bool>) -> Self
pub fn set_blackhole(self, input: Option<bool>) -> Self
Indicates whether traffic that matches this route is dropped.
sourcepub fn get_blackhole(&self) -> &Option<bool>
pub fn get_blackhole(&self) -> &Option<bool>
Indicates whether traffic that matches this route is dropped.
sourcepub fn transit_gateway_attachment(
self,
input: TransitGatewayPrefixListAttachment
) -> Self
pub fn transit_gateway_attachment( self, input: TransitGatewayPrefixListAttachment ) -> Self
Information about the transit gateway attachment.
sourcepub fn set_transit_gateway_attachment(
self,
input: Option<TransitGatewayPrefixListAttachment>
) -> Self
pub fn set_transit_gateway_attachment( self, input: Option<TransitGatewayPrefixListAttachment> ) -> Self
Information about the transit gateway attachment.
sourcepub fn get_transit_gateway_attachment(
&self
) -> &Option<TransitGatewayPrefixListAttachment>
pub fn get_transit_gateway_attachment( &self ) -> &Option<TransitGatewayPrefixListAttachment>
Information about the transit gateway attachment.
sourcepub fn build(self) -> TransitGatewayPrefixListReference
pub fn build(self) -> TransitGatewayPrefixListReference
Consumes the builder and constructs a TransitGatewayPrefixListReference
.
Trait Implementations§
source§impl Clone for TransitGatewayPrefixListReferenceBuilder
impl Clone for TransitGatewayPrefixListReferenceBuilder
source§fn clone(&self) -> TransitGatewayPrefixListReferenceBuilder
fn clone(&self) -> TransitGatewayPrefixListReferenceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TransitGatewayPrefixListReferenceBuilder
impl Default for TransitGatewayPrefixListReferenceBuilder
source§fn default() -> TransitGatewayPrefixListReferenceBuilder
fn default() -> TransitGatewayPrefixListReferenceBuilder
source§impl PartialEq<TransitGatewayPrefixListReferenceBuilder> for TransitGatewayPrefixListReferenceBuilder
impl PartialEq<TransitGatewayPrefixListReferenceBuilder> for TransitGatewayPrefixListReferenceBuilder
source§fn eq(&self, other: &TransitGatewayPrefixListReferenceBuilder) -> bool
fn eq(&self, other: &TransitGatewayPrefixListReferenceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.