#[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 for TransitGatewayPolicyTableEntryBuilder
impl PartialEq 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 Freeze for TransitGatewayPolicyTableEntryBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.