public static interface TrunkInterfaceAssociation.Builder extends SdkPojo, CopyableBuilder<TrunkInterfaceAssociation.Builder,TrunkInterfaceAssociation>
Modifier and Type | Method and Description |
---|---|
TrunkInterfaceAssociation.Builder |
associationId(String associationId)
The ID of the association.
|
TrunkInterfaceAssociation.Builder |
branchInterfaceId(String branchInterfaceId)
The ID of the branch network interface.
|
TrunkInterfaceAssociation.Builder |
greKey(Integer greKey)
The application key when you use the GRE protocol.
|
TrunkInterfaceAssociation.Builder |
interfaceProtocol(InterfaceProtocolType interfaceProtocol)
The interface protocol.
|
TrunkInterfaceAssociation.Builder |
interfaceProtocol(String interfaceProtocol)
The interface protocol.
|
TrunkInterfaceAssociation.Builder |
tags(Collection<Tag> tags)
The tags for the trunk interface association.
|
TrunkInterfaceAssociation.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags for the trunk interface association.
|
TrunkInterfaceAssociation.Builder |
tags(Tag... tags)
The tags for the trunk interface association.
|
TrunkInterfaceAssociation.Builder |
trunkInterfaceId(String trunkInterfaceId)
The ID of the trunk network interface.
|
TrunkInterfaceAssociation.Builder |
vlanId(Integer vlanId)
The ID of the VLAN when you use the VLAN protocol.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
TrunkInterfaceAssociation.Builder associationId(String associationId)
The ID of the association.
associationId
- The ID of the association.TrunkInterfaceAssociation.Builder branchInterfaceId(String branchInterfaceId)
The ID of the branch network interface.
branchInterfaceId
- The ID of the branch network interface.TrunkInterfaceAssociation.Builder trunkInterfaceId(String trunkInterfaceId)
The ID of the trunk network interface.
trunkInterfaceId
- The ID of the trunk network interface.TrunkInterfaceAssociation.Builder interfaceProtocol(String interfaceProtocol)
The interface protocol. Valid values are VLAN
and GRE
.
interfaceProtocol
- The interface protocol. Valid values are VLAN
and GRE
.InterfaceProtocolType
,
InterfaceProtocolType
TrunkInterfaceAssociation.Builder interfaceProtocol(InterfaceProtocolType interfaceProtocol)
The interface protocol. Valid values are VLAN
and GRE
.
interfaceProtocol
- The interface protocol. Valid values are VLAN
and GRE
.InterfaceProtocolType
,
InterfaceProtocolType
TrunkInterfaceAssociation.Builder vlanId(Integer vlanId)
The ID of the VLAN when you use the VLAN protocol.
vlanId
- The ID of the VLAN when you use the VLAN protocol.TrunkInterfaceAssociation.Builder greKey(Integer greKey)
The application key when you use the GRE protocol.
greKey
- The application key when you use the GRE protocol.TrunkInterfaceAssociation.Builder tags(Collection<Tag> tags)
The tags for the trunk interface association.
tags
- The tags for the trunk interface association.TrunkInterfaceAssociation.Builder tags(Tag... tags)
The tags for the trunk interface association.
tags
- The tags for the trunk interface association.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.Builder
avoiding the need to create one manually via
Tag.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to #tags(List
.
tags
- a consumer that will call methods on Tag.Builder
#tags(java.util.Collection)
Copyright © 2023. All rights reserved.