#[non_exhaustive]pub struct AssociationSetDetailsBuilder { /* private fields */ }
Expand description
A builder for AssociationSetDetails
.
Implementations§
source§impl AssociationSetDetailsBuilder
impl AssociationSetDetailsBuilder
sourcepub fn association_state(self, input: AssociationStateDetails) -> Self
pub fn association_state(self, input: AssociationStateDetails) -> Self
The state of the association between a route table and a subnet or gateway.
sourcepub fn set_association_state(
self,
input: Option<AssociationStateDetails>
) -> Self
pub fn set_association_state( self, input: Option<AssociationStateDetails> ) -> Self
The state of the association between a route table and a subnet or gateway.
sourcepub fn get_association_state(&self) -> &Option<AssociationStateDetails>
pub fn get_association_state(&self) -> &Option<AssociationStateDetails>
The state of the association between a route table and a subnet or gateway.
sourcepub fn gateway_id(self, input: impl Into<String>) -> Self
pub fn gateway_id(self, input: impl Into<String>) -> Self
The ID of the internet gateway or virtual private gateway.
sourcepub fn set_gateway_id(self, input: Option<String>) -> Self
pub fn set_gateway_id(self, input: Option<String>) -> Self
The ID of the internet gateway or virtual private gateway.
sourcepub fn get_gateway_id(&self) -> &Option<String>
pub fn get_gateway_id(&self) -> &Option<String>
The ID of the internet gateway or virtual private gateway.
sourcepub fn set_main(self, input: Option<bool>) -> Self
pub fn set_main(self, input: Option<bool>) -> Self
Indicates whether this is the main route table.
sourcepub fn route_table_association_id(self, input: impl Into<String>) -> Self
pub fn route_table_association_id(self, input: impl Into<String>) -> Self
The ID of the association.
sourcepub fn set_route_table_association_id(self, input: Option<String>) -> Self
pub fn set_route_table_association_id(self, input: Option<String>) -> Self
The ID of the association.
sourcepub fn get_route_table_association_id(&self) -> &Option<String>
pub fn get_route_table_association_id(&self) -> &Option<String>
The ID of the association.
sourcepub fn route_table_id(self, input: impl Into<String>) -> Self
pub fn route_table_id(self, input: impl Into<String>) -> Self
The ID of the route table.
sourcepub fn set_route_table_id(self, input: Option<String>) -> Self
pub fn set_route_table_id(self, input: Option<String>) -> Self
The ID of the route table.
sourcepub fn get_route_table_id(&self) -> &Option<String>
pub fn get_route_table_id(&self) -> &Option<String>
The ID of the route table.
sourcepub fn subnet_id(self, input: impl Into<String>) -> Self
pub fn subnet_id(self, input: impl Into<String>) -> Self
The ID of the subnet. A subnet ID is not returned for an implicit association.
sourcepub fn set_subnet_id(self, input: Option<String>) -> Self
pub fn set_subnet_id(self, input: Option<String>) -> Self
The ID of the subnet. A subnet ID is not returned for an implicit association.
sourcepub fn get_subnet_id(&self) -> &Option<String>
pub fn get_subnet_id(&self) -> &Option<String>
The ID of the subnet. A subnet ID is not returned for an implicit association.
sourcepub fn build(self) -> AssociationSetDetails
pub fn build(self) -> AssociationSetDetails
Consumes the builder and constructs a AssociationSetDetails
.
Trait Implementations§
source§impl Clone for AssociationSetDetailsBuilder
impl Clone for AssociationSetDetailsBuilder
source§fn clone(&self) -> AssociationSetDetailsBuilder
fn clone(&self) -> AssociationSetDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssociationSetDetailsBuilder
impl Debug for AssociationSetDetailsBuilder
source§impl Default for AssociationSetDetailsBuilder
impl Default for AssociationSetDetailsBuilder
source§fn default() -> AssociationSetDetailsBuilder
fn default() -> AssociationSetDetailsBuilder
source§impl PartialEq for AssociationSetDetailsBuilder
impl PartialEq for AssociationSetDetailsBuilder
source§fn eq(&self, other: &AssociationSetDetailsBuilder) -> bool
fn eq(&self, other: &AssociationSetDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.