Struct aws_sdk_ec2::model::transit_gateway_multicast_group::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for TransitGatewayMulticastGroup
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn group_ip_address(self, input: impl Into<String>) -> Self
pub fn group_ip_address(self, input: impl Into<String>) -> Self
The IP address assigned to the transit gateway multicast group.
sourcepub fn set_group_ip_address(self, input: Option<String>) -> Self
pub fn set_group_ip_address(self, input: Option<String>) -> Self
The IP address assigned to the transit gateway multicast group.
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 set_subnet_id(self, input: Option<String>) -> Self
pub fn set_subnet_id(self, input: Option<String>) -> Self
The ID of the subnet.
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 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 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 group 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 group resource.
sourcepub fn network_interface_id(self, input: impl Into<String>) -> Self
pub fn network_interface_id(self, input: impl Into<String>) -> Self
The ID of the transit gateway attachment.
sourcepub fn set_network_interface_id(self, input: Option<String>) -> Self
pub fn set_network_interface_id(self, input: Option<String>) -> Self
The ID of the transit gateway attachment.
sourcepub fn group_member(self, input: bool) -> Self
pub fn group_member(self, input: bool) -> Self
Indicates that the resource is a transit gateway multicast group member.
sourcepub fn set_group_member(self, input: Option<bool>) -> Self
pub fn set_group_member(self, input: Option<bool>) -> Self
Indicates that the resource is a transit gateway multicast group member.
sourcepub fn group_source(self, input: bool) -> Self
pub fn group_source(self, input: bool) -> Self
Indicates that the resource is a transit gateway multicast group member.
sourcepub fn set_group_source(self, input: Option<bool>) -> Self
pub fn set_group_source(self, input: Option<bool>) -> Self
Indicates that the resource is a transit gateway multicast group member.
sourcepub fn member_type(self, input: MembershipType) -> Self
pub fn member_type(self, input: MembershipType) -> Self
The member type (for example, static
).
sourcepub fn set_member_type(self, input: Option<MembershipType>) -> Self
pub fn set_member_type(self, input: Option<MembershipType>) -> Self
The member type (for example, static
).
sourcepub fn source_type(self, input: MembershipType) -> Self
pub fn source_type(self, input: MembershipType) -> Self
The source type.
sourcepub fn set_source_type(self, input: Option<MembershipType>) -> Self
pub fn set_source_type(self, input: Option<MembershipType>) -> Self
The source type.
sourcepub fn build(self) -> TransitGatewayMulticastGroup
pub fn build(self) -> TransitGatewayMulticastGroup
Consumes the builder and constructs a TransitGatewayMulticastGroup
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more