Struct aws_sdk_ec2::operation::register_transit_gateway_multicast_group_sources::builders::RegisterTransitGatewayMulticastGroupSourcesFluentBuilder
source · pub struct RegisterTransitGatewayMulticastGroupSourcesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to RegisterTransitGatewayMulticastGroupSources
.
Registers sources (network interfaces) with the specified transit gateway multicast group.
A multicast source is a network interface attached to a supported instance that sends multicast traffic. For information about supported instances, see Multicast Considerations in Amazon VPC Transit Gateways.
After you add the source, use SearchTransitGatewayMulticastGroups to verify that the source was added to the multicast group.
Implementations§
source§impl RegisterTransitGatewayMulticastGroupSourcesFluentBuilder
impl RegisterTransitGatewayMulticastGroupSourcesFluentBuilder
sourcepub fn as_input(
&self
) -> &RegisterTransitGatewayMulticastGroupSourcesInputBuilder
pub fn as_input( &self ) -> &RegisterTransitGatewayMulticastGroupSourcesInputBuilder
Access the RegisterTransitGatewayMulticastGroupSources as a reference.
sourcepub async fn send(
self
) -> Result<RegisterTransitGatewayMulticastGroupSourcesOutput, SdkError<RegisterTransitGatewayMulticastGroupSourcesError, HttpResponse>>
pub async fn send( self ) -> Result<RegisterTransitGatewayMulticastGroupSourcesOutput, SdkError<RegisterTransitGatewayMulticastGroupSourcesError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<RegisterTransitGatewayMulticastGroupSourcesOutput, RegisterTransitGatewayMulticastGroupSourcesError, Self>
pub fn customize( self ) -> CustomizableOperation<RegisterTransitGatewayMulticastGroupSourcesOutput, RegisterTransitGatewayMulticastGroupSourcesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 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 get_group_ip_address(&self) -> &Option<String>
pub fn get_group_ip_address(&self) -> &Option<String>
The IP address assigned to the transit gateway multicast group.
sourcepub fn network_interface_ids(self, input: impl Into<String>) -> Self
pub fn network_interface_ids(self, input: impl Into<String>) -> Self
Appends an item to NetworkInterfaceIds
.
To override the contents of this collection use set_network_interface_ids
.
The group sources' network interface IDs to register with the transit gateway multicast group.
sourcepub fn set_network_interface_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_network_interface_ids(self, input: Option<Vec<String>>) -> Self
The group sources' network interface IDs to register with the transit gateway multicast group.
sourcepub fn get_network_interface_ids(&self) -> &Option<Vec<String>>
pub fn get_network_interface_ids(&self) -> &Option<Vec<String>>
The group sources' network interface IDs to register with the transit gateway multicast group.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Trait Implementations§
source§impl Clone for RegisterTransitGatewayMulticastGroupSourcesFluentBuilder
impl Clone for RegisterTransitGatewayMulticastGroupSourcesFluentBuilder
source§fn clone(&self) -> RegisterTransitGatewayMulticastGroupSourcesFluentBuilder
fn clone(&self) -> RegisterTransitGatewayMulticastGroupSourcesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more