#[non_exhaustive]pub struct TransitGatewayMulticastDomainAssociationBuilder { /* private fields */ }
Expand description
A builder for TransitGatewayMulticastDomainAssociation
.
Implementations§
source§impl TransitGatewayMulticastDomainAssociationBuilder
impl TransitGatewayMulticastDomainAssociationBuilder
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 transit gateway multicast domain association 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 transit gateway multicast domain association 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 transit gateway multicast domain association resource.
sourcepub fn subnet(self, input: SubnetAssociation) -> Self
pub fn subnet(self, input: SubnetAssociation) -> Self
The subnet associated with the transit gateway multicast domain.
sourcepub fn set_subnet(self, input: Option<SubnetAssociation>) -> Self
pub fn set_subnet(self, input: Option<SubnetAssociation>) -> Self
The subnet associated with the transit gateway multicast domain.
sourcepub fn get_subnet(&self) -> &Option<SubnetAssociation>
pub fn get_subnet(&self) -> &Option<SubnetAssociation>
The subnet associated with the transit gateway multicast domain.
sourcepub fn build(self) -> TransitGatewayMulticastDomainAssociation
pub fn build(self) -> TransitGatewayMulticastDomainAssociation
Consumes the builder and constructs a TransitGatewayMulticastDomainAssociation
.
Trait Implementations§
source§impl Clone for TransitGatewayMulticastDomainAssociationBuilder
impl Clone for TransitGatewayMulticastDomainAssociationBuilder
source§fn clone(&self) -> TransitGatewayMulticastDomainAssociationBuilder
fn clone(&self) -> TransitGatewayMulticastDomainAssociationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TransitGatewayMulticastDomainAssociationBuilder
impl Default for TransitGatewayMulticastDomainAssociationBuilder
source§fn default() -> TransitGatewayMulticastDomainAssociationBuilder
fn default() -> TransitGatewayMulticastDomainAssociationBuilder
source§impl PartialEq<TransitGatewayMulticastDomainAssociationBuilder> for TransitGatewayMulticastDomainAssociationBuilder
impl PartialEq<TransitGatewayMulticastDomainAssociationBuilder> for TransitGatewayMulticastDomainAssociationBuilder
source§fn eq(&self, other: &TransitGatewayMulticastDomainAssociationBuilder) -> bool
fn eq(&self, other: &TransitGatewayMulticastDomainAssociationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.