#[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 get_policy_rule_number(&self) -> &Option<String>
pub fn get_policy_rule_number(&self) -> &Option<String>
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 get_policy_rule(&self) -> &Option<TransitGatewayPolicyRule>
pub fn get_policy_rule(&self) -> &Option<TransitGatewayPolicyRule>
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 get_target_route_table_id(&self) -> &Option<String>
pub fn get_target_route_table_id(&self) -> &Option<String>
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 ==
.impl StructuralPartialEq for TransitGatewayPolicyTableEntryBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TransitGatewayPolicyTableEntryBuilder
impl Send for TransitGatewayPolicyTableEntryBuilder
impl Sync for TransitGatewayPolicyTableEntryBuilder
impl Unpin for TransitGatewayPolicyTableEntryBuilder
impl UnwindSafe for TransitGatewayPolicyTableEntryBuilder
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
Mutably borrows from an owned value. Read more