Interface TrunkInterfaceAssociation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TrunkInterfaceAssociation.Builder,
,TrunkInterfaceAssociation> SdkBuilder<TrunkInterfaceAssociation.Builder,
,TrunkInterfaceAssociation> SdkPojo
- Enclosing class:
TrunkInterfaceAssociation
public static interface TrunkInterfaceAssociation.Builder
extends SdkPojo, CopyableBuilder<TrunkInterfaceAssociation.Builder,TrunkInterfaceAssociation>
-
Method Summary
Modifier and TypeMethodDescriptionassociationId
(String associationId) The ID of the association.branchInterfaceId
(String branchInterfaceId) The ID of the branch network interface.The application key when you use the GRE protocol.interfaceProtocol
(String interfaceProtocol) The interface protocol.interfaceProtocol
(InterfaceProtocolType interfaceProtocol) The interface protocol.tags
(Collection<Tag> tags) The tags for the trunk interface association.tags
(Consumer<Tag.Builder>... tags) The tags for the trunk interface association.The tags for the trunk interface association.trunkInterfaceId
(String trunkInterfaceId) The ID of the trunk network interface.The ID of the VLAN when you use the VLAN protocol.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
-
associationId
The ID of the association.
- Parameters:
associationId
- The ID of the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branchInterfaceId
The ID of the branch network interface.
- Parameters:
branchInterfaceId
- The ID of the branch network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trunkInterfaceId
The ID of the trunk network interface.
- Parameters:
trunkInterfaceId
- The ID of the trunk network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interfaceProtocol
The interface protocol. Valid values are
VLAN
andGRE
.- Parameters:
interfaceProtocol
- The interface protocol. Valid values areVLAN
andGRE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
interfaceProtocol
The interface protocol. Valid values are
VLAN
andGRE
.- Parameters:
interfaceProtocol
- The interface protocol. Valid values areVLAN
andGRE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vlanId
The ID of the VLAN when you use the VLAN protocol.
- Parameters:
vlanId
- The ID of the VLAN when you use the VLAN protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
greKey
The application key when you use the GRE protocol.
- Parameters:
greKey
- The application key when you use the GRE protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the trunk interface association.
- Parameters:
tags
- The tags for the trunk interface association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the trunk interface association.
- Parameters:
tags
- The tags for the trunk interface association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the trunk interface association.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-