@Generated(value="software.amazon.awssdk:codegen") public final class TrunkInterfaceAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TrunkInterfaceAssociation.Builder,TrunkInterfaceAssociation>
Information about an association between a branch network interface with a trunk network interface.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TrunkInterfaceAssociation.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
associationId()
The ID of the association.
|
String |
branchInterfaceId()
The ID of the branch network interface.
|
static TrunkInterfaceAssociation.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
Integer |
greKey()
The application key when you use the GRE protocol.
|
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
InterfaceProtocolType |
interfaceProtocol()
The interface protocol.
|
String |
interfaceProtocolAsString()
The interface protocol.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TrunkInterfaceAssociation.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
The tags.
|
TrunkInterfaceAssociation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
trunkInterfaceId()
The ID of the trunk network interface.
|
Integer |
vlanId()
The ID of the VLAN when you use the VLAN protocol.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String associationId()
The ID of the association.
public final String branchInterfaceId()
The ID of the branch network interface.
public final String trunkInterfaceId()
The ID of the trunk network interface.
public final InterfaceProtocolType interfaceProtocol()
The interface protocol. Valid values are VLAN and GRE.
If the service returns an enum value that is not available in the current SDK version, interfaceProtocol
will return InterfaceProtocolType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from interfaceProtocolAsString().
VLAN and GRE.InterfaceProtocolTypepublic final String interfaceProtocolAsString()
The interface protocol. Valid values are VLAN and GRE.
If the service returns an enum value that is not available in the current SDK version, interfaceProtocol
will return InterfaceProtocolType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from interfaceProtocolAsString().
VLAN and GRE.InterfaceProtocolTypepublic final Integer vlanId()
The ID of the VLAN when you use the VLAN protocol.
public final Integer greKey()
The application key when you use the GRE protocol.
public final boolean hasTags()
public final List<Tag> tags()
The tags.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public TrunkInterfaceAssociation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TrunkInterfaceAssociation.Builder,TrunkInterfaceAssociation>public static TrunkInterfaceAssociation.Builder builder()
public static Class<? extends TrunkInterfaceAssociation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.