@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LocalGatewayVirtualInterface extends Object implements Serializable, Cloneable
Describes a local gateway virtual interface.
Constructor and Description |
---|
LocalGatewayVirtualInterface() |
Modifier and Type | Method and Description |
---|---|
LocalGatewayVirtualInterface |
clone() |
boolean |
equals(Object obj) |
String |
getLocalAddress()
The local address.
|
Integer |
getLocalBgpAsn()
The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.
|
String |
getLocalGatewayId()
The ID of the local gateway.
|
String |
getLocalGatewayVirtualInterfaceId()
The ID of the virtual interface.
|
String |
getOwnerId()
The ID of the Amazon Web Services account that owns the local gateway virtual interface.
|
String |
getPeerAddress()
The peer address.
|
Integer |
getPeerBgpAsn()
The peer BGP ASN.
|
List<Tag> |
getTags()
The tags assigned to the virtual interface.
|
Integer |
getVlan()
The ID of the VLAN.
|
int |
hashCode() |
void |
setLocalAddress(String localAddress)
The local address.
|
void |
setLocalBgpAsn(Integer localBgpAsn)
The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.
|
void |
setLocalGatewayId(String localGatewayId)
The ID of the local gateway.
|
void |
setLocalGatewayVirtualInterfaceId(String localGatewayVirtualInterfaceId)
The ID of the virtual interface.
|
void |
setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the local gateway virtual interface.
|
void |
setPeerAddress(String peerAddress)
The peer address.
|
void |
setPeerBgpAsn(Integer peerBgpAsn)
The peer BGP ASN.
|
void |
setTags(Collection<Tag> tags)
The tags assigned to the virtual interface.
|
void |
setVlan(Integer vlan)
The ID of the VLAN.
|
String |
toString()
Returns a string representation of this object.
|
LocalGatewayVirtualInterface |
withLocalAddress(String localAddress)
The local address.
|
LocalGatewayVirtualInterface |
withLocalBgpAsn(Integer localBgpAsn)
The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.
|
LocalGatewayVirtualInterface |
withLocalGatewayId(String localGatewayId)
The ID of the local gateway.
|
LocalGatewayVirtualInterface |
withLocalGatewayVirtualInterfaceId(String localGatewayVirtualInterfaceId)
The ID of the virtual interface.
|
LocalGatewayVirtualInterface |
withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the local gateway virtual interface.
|
LocalGatewayVirtualInterface |
withPeerAddress(String peerAddress)
The peer address.
|
LocalGatewayVirtualInterface |
withPeerBgpAsn(Integer peerBgpAsn)
The peer BGP ASN.
|
LocalGatewayVirtualInterface |
withTags(Collection<Tag> tags)
The tags assigned to the virtual interface.
|
LocalGatewayVirtualInterface |
withTags(Tag... tags)
The tags assigned to the virtual interface.
|
LocalGatewayVirtualInterface |
withVlan(Integer vlan)
The ID of the VLAN.
|
public void setLocalGatewayVirtualInterfaceId(String localGatewayVirtualInterfaceId)
The ID of the virtual interface.
localGatewayVirtualInterfaceId
- The ID of the virtual interface.public String getLocalGatewayVirtualInterfaceId()
The ID of the virtual interface.
public LocalGatewayVirtualInterface withLocalGatewayVirtualInterfaceId(String localGatewayVirtualInterfaceId)
The ID of the virtual interface.
localGatewayVirtualInterfaceId
- The ID of the virtual interface.public void setLocalGatewayId(String localGatewayId)
The ID of the local gateway.
localGatewayId
- The ID of the local gateway.public String getLocalGatewayId()
The ID of the local gateway.
public LocalGatewayVirtualInterface withLocalGatewayId(String localGatewayId)
The ID of the local gateway.
localGatewayId
- The ID of the local gateway.public void setVlan(Integer vlan)
The ID of the VLAN.
vlan
- The ID of the VLAN.public Integer getVlan()
The ID of the VLAN.
public LocalGatewayVirtualInterface withVlan(Integer vlan)
The ID of the VLAN.
vlan
- The ID of the VLAN.public void setLocalAddress(String localAddress)
The local address.
localAddress
- The local address.public String getLocalAddress()
The local address.
public LocalGatewayVirtualInterface withLocalAddress(String localAddress)
The local address.
localAddress
- The local address.public void setPeerAddress(String peerAddress)
The peer address.
peerAddress
- The peer address.public String getPeerAddress()
The peer address.
public LocalGatewayVirtualInterface withPeerAddress(String peerAddress)
The peer address.
peerAddress
- The peer address.public void setLocalBgpAsn(Integer localBgpAsn)
The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.
localBgpAsn
- The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.public Integer getLocalBgpAsn()
The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.
public LocalGatewayVirtualInterface withLocalBgpAsn(Integer localBgpAsn)
The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.
localBgpAsn
- The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.public void setPeerBgpAsn(Integer peerBgpAsn)
The peer BGP ASN.
peerBgpAsn
- The peer BGP ASN.public Integer getPeerBgpAsn()
The peer BGP ASN.
public LocalGatewayVirtualInterface withPeerBgpAsn(Integer peerBgpAsn)
The peer BGP ASN.
peerBgpAsn
- The peer BGP ASN.public void setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the local gateway virtual interface.
ownerId
- The ID of the Amazon Web Services account that owns the local gateway virtual interface.public String getOwnerId()
The ID of the Amazon Web Services account that owns the local gateway virtual interface.
public LocalGatewayVirtualInterface withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the local gateway virtual interface.
ownerId
- The ID of the Amazon Web Services account that owns the local gateway virtual interface.public List<Tag> getTags()
The tags assigned to the virtual interface.
public void setTags(Collection<Tag> tags)
The tags assigned to the virtual interface.
tags
- The tags assigned to the virtual interface.public LocalGatewayVirtualInterface withTags(Tag... tags)
The tags assigned to the virtual interface.
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 assigned to the virtual interface.public LocalGatewayVirtualInterface withTags(Collection<Tag> tags)
The tags assigned to the virtual interface.
tags
- The tags assigned to the virtual interface.public String toString()
toString
in class Object
Object.toString()
public LocalGatewayVirtualInterface clone()