@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrunkInterfaceAssociation extends Object implements Serializable, Cloneable
Information about an association between a branch network interface with a trunk network interface.
Constructor and Description |
---|
TrunkInterfaceAssociation() |
Modifier and Type | Method and Description |
---|---|
TrunkInterfaceAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getAssociationId()
The ID of the association.
|
String |
getBranchInterfaceId()
The ID of the branch network interface.
|
Integer |
getGreKey()
The application key when you use the GRE protocol.
|
String |
getInterfaceProtocol()
The interface protocol.
|
List<Tag> |
getTags()
The tags for the trunk interface association.
|
String |
getTrunkInterfaceId()
The ID of the trunk network interface.
|
Integer |
getVlanId()
The ID of the VLAN when you use the VLAN protocol.
|
int |
hashCode() |
void |
setAssociationId(String associationId)
The ID of the association.
|
void |
setBranchInterfaceId(String branchInterfaceId)
The ID of the branch network interface.
|
void |
setGreKey(Integer greKey)
The application key when you use the GRE protocol.
|
void |
setInterfaceProtocol(String interfaceProtocol)
The interface protocol.
|
void |
setTags(Collection<Tag> tags)
The tags for the trunk interface association.
|
void |
setTrunkInterfaceId(String trunkInterfaceId)
The ID of the trunk network interface.
|
void |
setVlanId(Integer vlanId)
The ID of the VLAN when you use the VLAN protocol.
|
String |
toString()
Returns a string representation of this object.
|
TrunkInterfaceAssociation |
withAssociationId(String associationId)
The ID of the association.
|
TrunkInterfaceAssociation |
withBranchInterfaceId(String branchInterfaceId)
The ID of the branch network interface.
|
TrunkInterfaceAssociation |
withGreKey(Integer greKey)
The application key when you use the GRE protocol.
|
TrunkInterfaceAssociation |
withInterfaceProtocol(InterfaceProtocolType interfaceProtocol)
The interface protocol.
|
TrunkInterfaceAssociation |
withInterfaceProtocol(String interfaceProtocol)
The interface protocol.
|
TrunkInterfaceAssociation |
withTags(Collection<Tag> tags)
The tags for the trunk interface association.
|
TrunkInterfaceAssociation |
withTags(Tag... tags)
The tags for the trunk interface association.
|
TrunkInterfaceAssociation |
withTrunkInterfaceId(String trunkInterfaceId)
The ID of the trunk network interface.
|
TrunkInterfaceAssociation |
withVlanId(Integer vlanId)
The ID of the VLAN when you use the VLAN protocol.
|
public void setAssociationId(String associationId)
The ID of the association.
associationId
- The ID of the association.public String getAssociationId()
The ID of the association.
public TrunkInterfaceAssociation withAssociationId(String associationId)
The ID of the association.
associationId
- The ID of the association.public void setBranchInterfaceId(String branchInterfaceId)
The ID of the branch network interface.
branchInterfaceId
- The ID of the branch network interface.public String getBranchInterfaceId()
The ID of the branch network interface.
public TrunkInterfaceAssociation withBranchInterfaceId(String branchInterfaceId)
The ID of the branch network interface.
branchInterfaceId
- The ID of the branch network interface.public void setTrunkInterfaceId(String trunkInterfaceId)
The ID of the trunk network interface.
trunkInterfaceId
- The ID of the trunk network interface.public String getTrunkInterfaceId()
The ID of the trunk network interface.
public TrunkInterfaceAssociation withTrunkInterfaceId(String trunkInterfaceId)
The ID of the trunk network interface.
trunkInterfaceId
- The ID of the trunk network interface.public void setInterfaceProtocol(String interfaceProtocol)
The interface protocol. Valid values are VLAN
and GRE
.
interfaceProtocol
- The interface protocol. Valid values are VLAN
and GRE
.InterfaceProtocolType
public String getInterfaceProtocol()
The interface protocol. Valid values are VLAN
and GRE
.
VLAN
and GRE
.InterfaceProtocolType
public TrunkInterfaceAssociation withInterfaceProtocol(String interfaceProtocol)
The interface protocol. Valid values are VLAN
and GRE
.
interfaceProtocol
- The interface protocol. Valid values are VLAN
and GRE
.InterfaceProtocolType
public TrunkInterfaceAssociation withInterfaceProtocol(InterfaceProtocolType interfaceProtocol)
The interface protocol. Valid values are VLAN
and GRE
.
interfaceProtocol
- The interface protocol. Valid values are VLAN
and GRE
.InterfaceProtocolType
public void setVlanId(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.public Integer getVlanId()
The ID of the VLAN when you use the VLAN protocol.
public TrunkInterfaceAssociation withVlanId(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.public void setGreKey(Integer greKey)
The application key when you use the GRE protocol.
greKey
- The application key when you use the GRE protocol.public Integer getGreKey()
The application key when you use the GRE protocol.
public TrunkInterfaceAssociation withGreKey(Integer greKey)
The application key when you use the GRE protocol.
greKey
- The application key when you use the GRE protocol.public List<Tag> getTags()
The tags for the trunk interface association.
public void setTags(Collection<Tag> tags)
The tags for the trunk interface association.
tags
- The tags for the trunk interface association.public TrunkInterfaceAssociation withTags(Tag... tags)
The tags for the trunk interface association.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags for the trunk interface association.public TrunkInterfaceAssociation withTags(Collection<Tag> tags)
The tags for the trunk interface association.
tags
- The tags for the trunk interface association.public String toString()
toString
in class Object
Object.toString()
public TrunkInterfaceAssociation clone()