pub struct Builder { /* private fields */ }
Expand description
A builder for TransitGatewayPolicyTableEntry
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn policy_rule_number(self, input: impl Into<String>) -> Self
pub fn policy_rule_number(self, input: impl Into<String>) -> Self
The rule number for the transit gateway policy table entry.
sourcepub fn set_policy_rule_number(self, input: Option<String>) -> Self
pub fn set_policy_rule_number(self, input: Option<String>) -> Self
The rule number for the transit gateway policy table entry.
sourcepub fn policy_rule(self, input: TransitGatewayPolicyRule) -> Self
pub fn policy_rule(self, input: TransitGatewayPolicyRule) -> Self
The policy rule associated with the transit gateway policy table.
sourcepub fn set_policy_rule(self, input: Option<TransitGatewayPolicyRule>) -> Self
pub fn set_policy_rule(self, input: Option<TransitGatewayPolicyRule>) -> Self
The policy rule associated with the transit gateway policy table.
sourcepub fn target_route_table_id(self, input: impl Into<String>) -> Self
pub fn target_route_table_id(self, input: impl Into<String>) -> Self
The ID of the target route table.
sourcepub fn set_target_route_table_id(self, input: Option<String>) -> Self
pub fn set_target_route_table_id(self, input: Option<String>) -> Self
The ID of the target route table.
sourcepub fn build(self) -> TransitGatewayPolicyTableEntry
pub fn build(self) -> TransitGatewayPolicyTableEntry
Consumes the builder and constructs a TransitGatewayPolicyTableEntry
.