#[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 for TransitGatewayMulticastDomainAssociationBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for TransitGatewayMulticastDomainAssociationBuilder
Auto Trait Implementations§
impl Freeze for TransitGatewayMulticastDomainAssociationBuilder
impl RefUnwindSafe for TransitGatewayMulticastDomainAssociationBuilder
impl Send for TransitGatewayMulticastDomainAssociationBuilder
impl Sync for TransitGatewayMulticastDomainAssociationBuilder
impl Unpin for TransitGatewayMulticastDomainAssociationBuilder
impl UnwindSafe for TransitGatewayMulticastDomainAssociationBuilder
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