#[non_exhaustive]pub struct TransitGatewayMulticastDomainAssociationsBuilder { /* private fields */ }
Expand description
A builder for TransitGatewayMulticastDomainAssociations
.
Implementations§
source§impl TransitGatewayMulticastDomainAssociationsBuilder
impl TransitGatewayMulticastDomainAssociationsBuilder
sourcepub fn transit_gateway_multicast_domain_id(
self,
input: impl Into<String>
) -> Self
pub fn transit_gateway_multicast_domain_id( self, input: impl Into<String> ) -> Self
The ID of the transit gateway multicast domain.
sourcepub fn set_transit_gateway_multicast_domain_id(
self,
input: Option<String>
) -> Self
pub fn set_transit_gateway_multicast_domain_id( self, input: Option<String> ) -> Self
The ID of the transit gateway multicast domain.
sourcepub fn get_transit_gateway_multicast_domain_id(&self) -> &Option<String>
pub fn get_transit_gateway_multicast_domain_id(&self) -> &Option<String>
The ID of the transit gateway multicast domain.
sourcepub fn transit_gateway_attachment_id(self, input: impl Into<String>) -> Self
pub fn transit_gateway_attachment_id(self, input: impl Into<String>) -> Self
The ID of the transit gateway attachment.
sourcepub fn set_transit_gateway_attachment_id(self, input: Option<String>) -> Self
pub fn set_transit_gateway_attachment_id(self, input: Option<String>) -> Self
The ID of the transit gateway attachment.
sourcepub fn get_transit_gateway_attachment_id(&self) -> &Option<String>
pub fn get_transit_gateway_attachment_id(&self) -> &Option<String>
The ID of the transit gateway attachment.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The ID of the resource.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The ID of the resource.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The ID of the resource.
sourcepub fn resource_type(self, input: TransitGatewayAttachmentResourceType) -> Self
pub fn resource_type(self, input: TransitGatewayAttachmentResourceType) -> Self
The type of resource, for example a VPC attachment.
sourcepub fn set_resource_type(
self,
input: Option<TransitGatewayAttachmentResourceType>
) -> Self
pub fn set_resource_type( self, input: Option<TransitGatewayAttachmentResourceType> ) -> Self
The type of resource, for example a VPC attachment.
sourcepub fn get_resource_type(&self) -> &Option<TransitGatewayAttachmentResourceType>
pub fn get_resource_type(&self) -> &Option<TransitGatewayAttachmentResourceType>
The type of resource, for example a VPC attachment.
sourcepub fn resource_owner_id(self, input: impl Into<String>) -> Self
pub fn resource_owner_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the resource.
sourcepub fn set_resource_owner_id(self, input: Option<String>) -> Self
pub fn set_resource_owner_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the resource.
sourcepub fn get_resource_owner_id(&self) -> &Option<String>
pub fn get_resource_owner_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that owns the resource.
sourcepub fn subnets(self, input: SubnetAssociation) -> Self
pub fn subnets(self, input: SubnetAssociation) -> Self
Appends an item to subnets
.
To override the contents of this collection use set_subnets
.
The subnets associated with the multicast domain.
sourcepub fn set_subnets(self, input: Option<Vec<SubnetAssociation>>) -> Self
pub fn set_subnets(self, input: Option<Vec<SubnetAssociation>>) -> Self
The subnets associated with the multicast domain.
sourcepub fn get_subnets(&self) -> &Option<Vec<SubnetAssociation>>
pub fn get_subnets(&self) -> &Option<Vec<SubnetAssociation>>
The subnets associated with the multicast domain.
sourcepub fn build(self) -> TransitGatewayMulticastDomainAssociations
pub fn build(self) -> TransitGatewayMulticastDomainAssociations
Consumes the builder and constructs a TransitGatewayMulticastDomainAssociations
.
Trait Implementations§
source§impl Clone for TransitGatewayMulticastDomainAssociationsBuilder
impl Clone for TransitGatewayMulticastDomainAssociationsBuilder
source§fn clone(&self) -> TransitGatewayMulticastDomainAssociationsBuilder
fn clone(&self) -> TransitGatewayMulticastDomainAssociationsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TransitGatewayMulticastDomainAssociationsBuilder
impl Default for TransitGatewayMulticastDomainAssociationsBuilder
source§fn default() -> TransitGatewayMulticastDomainAssociationsBuilder
fn default() -> TransitGatewayMulticastDomainAssociationsBuilder
source§impl PartialEq for TransitGatewayMulticastDomainAssociationsBuilder
impl PartialEq for TransitGatewayMulticastDomainAssociationsBuilder
source§fn eq(&self, other: &TransitGatewayMulticastDomainAssociationsBuilder) -> bool
fn eq(&self, other: &TransitGatewayMulticastDomainAssociationsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.