Struct aws_sdk_ec2::model::transit_gateway_multicast_group::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TransitGatewayMulticastGroup
.
Implementations§
source§impl 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
.