Interface TransitGatewayMulticastDomainAssociations.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TransitGatewayMulticastDomainAssociations.Builder,
,TransitGatewayMulticastDomainAssociations> SdkBuilder<TransitGatewayMulticastDomainAssociations.Builder,
,TransitGatewayMulticastDomainAssociations> SdkPojo
- Enclosing class:
TransitGatewayMulticastDomainAssociations
public static interface TransitGatewayMulticastDomainAssociations.Builder
extends SdkPojo, CopyableBuilder<TransitGatewayMulticastDomainAssociations.Builder,TransitGatewayMulticastDomainAssociations>
-
Method Summary
Modifier and TypeMethodDescriptionresourceId
(String resourceId) The ID of the resource.resourceOwnerId
(String resourceOwnerId) The ID of the Amazon Web Services account that owns the resource.resourceType
(String resourceType) The type of resource, for example a VPC attachment.resourceType
(TransitGatewayAttachmentResourceType resourceType) The type of resource, for example a VPC attachment.subnets
(Collection<SubnetAssociation> subnets) The subnets associated with the multicast domain.subnets
(Consumer<SubnetAssociation.Builder>... subnets) The subnets associated with the multicast domain.subnets
(SubnetAssociation... subnets) The subnets associated with the multicast domain.transitGatewayAttachmentId
(String transitGatewayAttachmentId) The ID of the transit gateway attachment.transitGatewayMulticastDomainId
(String transitGatewayMulticastDomainId) The ID of the transit gateway multicast domain.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
transitGatewayMulticastDomainId
TransitGatewayMulticastDomainAssociations.Builder transitGatewayMulticastDomainId(String transitGatewayMulticastDomainId) The ID of the transit gateway multicast domain.
- Parameters:
transitGatewayMulticastDomainId
- The ID of the transit gateway multicast domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayAttachmentId
TransitGatewayMulticastDomainAssociations.Builder transitGatewayAttachmentId(String transitGatewayAttachmentId) The ID of the transit gateway attachment.
- Parameters:
transitGatewayAttachmentId
- The ID of the transit gateway attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The ID of the resource.
- Parameters:
resourceId
- The ID of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of resource, for example a VPC attachment.
- Parameters:
resourceType
- The type of resource, for example a VPC attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
TransitGatewayMulticastDomainAssociations.Builder resourceType(TransitGatewayAttachmentResourceType resourceType) The type of resource, for example a VPC attachment.
- Parameters:
resourceType
- The type of resource, for example a VPC attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceOwnerId
The ID of the Amazon Web Services account that owns the resource.
- Parameters:
resourceOwnerId
- The ID of the Amazon Web Services account that owns the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
The subnets associated with the multicast domain.
- Parameters:
subnets
- The subnets associated with the multicast domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
The subnets associated with the multicast domain.
- Parameters:
subnets
- The subnets associated with the multicast domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
TransitGatewayMulticastDomainAssociations.Builder subnets(Consumer<SubnetAssociation.Builder>... subnets) The subnets associated with the multicast domain.
This is a convenience method that creates an instance of theSubnetAssociation.Builder
avoiding the need to create one manually viaSubnetAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubnets(List<SubnetAssociation>)
.- Parameters:
subnets
- a consumer that will call methods onSubnetAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-