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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TrunkInterfaceAssociation.BuilderassociationId(String associationId)The ID of the association.TrunkInterfaceAssociation.BuilderbranchInterfaceId(String branchInterfaceId)The ID of the branch network interface.TrunkInterfaceAssociation.BuildergreKey(Integer greKey)The application key when you use the GRE protocol.TrunkInterfaceAssociation.BuilderinterfaceProtocol(String interfaceProtocol)The interface protocol.TrunkInterfaceAssociation.BuilderinterfaceProtocol(InterfaceProtocolType interfaceProtocol)The interface protocol.TrunkInterfaceAssociation.Buildertags(Collection<Tag> tags)The tags for the trunk interface association.TrunkInterfaceAssociation.Buildertags(Consumer<Tag.Builder>... tags)The tags for the trunk interface association.TrunkInterfaceAssociation.Buildertags(Tag... tags)The tags for the trunk interface association.TrunkInterfaceAssociation.BuildertrunkInterfaceId(String trunkInterfaceId)The ID of the trunk network interface.TrunkInterfaceAssociation.BuildervlanId(Integer vlanId)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 Detail
-
associationId
TrunkInterfaceAssociation.Builder associationId(String 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
TrunkInterfaceAssociation.Builder branchInterfaceId(String 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
TrunkInterfaceAssociation.Builder trunkInterfaceId(String 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
TrunkInterfaceAssociation.Builder interfaceProtocol(String interfaceProtocol)
The interface protocol. Valid values are
VLANandGRE.- Parameters:
interfaceProtocol- The interface protocol. Valid values areVLANandGRE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InterfaceProtocolType,InterfaceProtocolType
-
interfaceProtocol
TrunkInterfaceAssociation.Builder interfaceProtocol(InterfaceProtocolType interfaceProtocol)
The interface protocol. Valid values are
VLANandGRE.- Parameters:
interfaceProtocol- The interface protocol. Valid values areVLANandGRE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InterfaceProtocolType,InterfaceProtocolType
-
vlanId
TrunkInterfaceAssociation.Builder vlanId(Integer 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
TrunkInterfaceAssociation.Builder greKey(Integer 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
TrunkInterfaceAssociation.Builder tags(Collection<Tag> 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
TrunkInterfaceAssociation.Builder tags(Tag... 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
TrunkInterfaceAssociation.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the trunk interface association.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
-