Interface TransitGatewayMulticastDomainAssociation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TransitGatewayMulticastDomainAssociation.Builder,
,TransitGatewayMulticastDomainAssociation> SdkBuilder<TransitGatewayMulticastDomainAssociation.Builder,
,TransitGatewayMulticastDomainAssociation> SdkPojo
- Enclosing class:
TransitGatewayMulticastDomainAssociation
public static interface TransitGatewayMulticastDomainAssociation.Builder
extends SdkPojo, CopyableBuilder<TransitGatewayMulticastDomainAssociation.Builder,TransitGatewayMulticastDomainAssociation>
-
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 transit gateway multicast domain association 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.subnet
(Consumer<SubnetAssociation.Builder> subnet) The subnet associated with the transit gateway multicast domain.subnet
(SubnetAssociation subnet) The subnet associated with the transit gateway multicast domain.transitGatewayAttachmentId
(String transitGatewayAttachmentId) The ID of the transit gateway attachment.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
-
transitGatewayAttachmentId
TransitGatewayMulticastDomainAssociation.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
TransitGatewayMulticastDomainAssociation.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 transit gateway multicast domain association resource.
- Parameters:
resourceOwnerId
- The ID of the Amazon Web Services account that owns the transit gateway multicast domain association resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnet
The subnet associated with the transit gateway multicast domain.
- Parameters:
subnet
- The subnet associated with the transit gateway multicast domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnet
default TransitGatewayMulticastDomainAssociation.Builder subnet(Consumer<SubnetAssociation.Builder> subnet) The subnet associated with the transit gateway 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 tosubnet(SubnetAssociation)
.- Parameters:
subnet
- 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:
-