#[non_exhaustive]pub struct TransitGatewayPolicyTableEntryBuilder { /* private fields */ }Expand description
A builder for TransitGatewayPolicyTableEntry.
Implementations§
source§impl TransitGatewayPolicyTableEntryBuilder
impl TransitGatewayPolicyTableEntryBuilder
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.
Trait Implementations§
source§impl Clone for TransitGatewayPolicyTableEntryBuilder
impl Clone for TransitGatewayPolicyTableEntryBuilder
source§fn clone(&self) -> TransitGatewayPolicyTableEntryBuilder
fn clone(&self) -> TransitGatewayPolicyTableEntryBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for TransitGatewayPolicyTableEntryBuilder
impl Default for TransitGatewayPolicyTableEntryBuilder
source§fn default() -> TransitGatewayPolicyTableEntryBuilder
fn default() -> TransitGatewayPolicyTableEntryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TransitGatewayPolicyTableEntryBuilder> for TransitGatewayPolicyTableEntryBuilder
impl PartialEq<TransitGatewayPolicyTableEntryBuilder> for TransitGatewayPolicyTableEntryBuilder
source§fn eq(&self, other: &TransitGatewayPolicyTableEntryBuilder) -> bool
fn eq(&self, other: &TransitGatewayPolicyTableEntryBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.