#[non_exhaustive]pub struct TransitGatewayPolicyTableBuilder { /* private fields */ }
Expand description
A builder for TransitGatewayPolicyTable
.
Implementations§
source§impl TransitGatewayPolicyTableBuilder
impl TransitGatewayPolicyTableBuilder
sourcepub fn transit_gateway_policy_table_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_policy_table_id(self, input: impl Into<String>) -> Self
The ID of the transit gateway policy table.
sourcepub fn set_transit_gateway_policy_table_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_policy_table_id(self, input: Option<String>) -> Self
The ID of the transit gateway policy table.
sourcepub fn get_transit_gateway_policy_table_id(&self) -> &Option<String>
pub fn get_transit_gateway_policy_table_id(&self) -> &Option<String>
The ID of the transit gateway policy table.
sourcepub fn transit_gateway_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_id(self, input: impl Into<String>) -> Self
The ID of the transit gateway.
sourcepub fn set_transit_gateway_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_id(self, input: Option<String>) -> Self
The ID of the transit gateway.
sourcepub fn get_transit_gateway_id(&self) -> &Option<String>
pub fn get_transit_gateway_id(&self) -> &Option<String>
The ID of the transit gateway.
sourcepub fn state(self, input: TransitGatewayPolicyTableState) -> Self
pub fn state(self, input: TransitGatewayPolicyTableState) -> Self
The state of the transit gateway policy table
sourcepub fn set_state(self, input: Option<TransitGatewayPolicyTableState>) -> Self
pub fn set_state(self, input: Option<TransitGatewayPolicyTableState>) -> Self
The state of the transit gateway policy table
sourcepub fn get_state(&self) -> &Option<TransitGatewayPolicyTableState>
pub fn get_state(&self) -> &Option<TransitGatewayPolicyTableState>
The state of the transit gateway policy table
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The timestamp when the transit gateway policy table was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The timestamp when the transit gateway policy table was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The timestamp when the transit gateway policy table was created.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
he key-value pairs associated with the transit gateway policy table.
he key-value pairs associated with the transit gateway policy table.
he key-value pairs associated with the transit gateway policy table.
sourcepub fn build(self) -> TransitGatewayPolicyTable
pub fn build(self) -> TransitGatewayPolicyTable
Consumes the builder and constructs a TransitGatewayPolicyTable
.
Trait Implementations§
source§impl Clone for TransitGatewayPolicyTableBuilder
impl Clone for TransitGatewayPolicyTableBuilder
source§fn clone(&self) -> TransitGatewayPolicyTableBuilder
fn clone(&self) -> TransitGatewayPolicyTableBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TransitGatewayPolicyTableBuilder
impl Default for TransitGatewayPolicyTableBuilder
source§fn default() -> TransitGatewayPolicyTableBuilder
fn default() -> TransitGatewayPolicyTableBuilder
source§impl PartialEq for TransitGatewayPolicyTableBuilder
impl PartialEq for TransitGatewayPolicyTableBuilder
source§fn eq(&self, other: &TransitGatewayPolicyTableBuilder) -> bool
fn eq(&self, other: &TransitGatewayPolicyTableBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransitGatewayPolicyTableBuilder
Auto Trait Implementations§
impl Freeze for TransitGatewayPolicyTableBuilder
impl RefUnwindSafe for TransitGatewayPolicyTableBuilder
impl Send for TransitGatewayPolicyTableBuilder
impl Sync for TransitGatewayPolicyTableBuilder
impl Unpin for TransitGatewayPolicyTableBuilder
impl UnwindSafe for TransitGatewayPolicyTableBuilder
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
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>
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>
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 more