pub struct Builder { /* private fields */ }
Expand description
A builder for TransitGatewayPrefixListReference
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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 build(self) -> TransitGatewayPrefixListReference
pub fn build(self) -> TransitGatewayPrefixListReference
Consumes the builder and constructs a TransitGatewayPrefixListReference
.