@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NewTransitVirtualInterface extends Object implements Serializable, Cloneable, StructuredPojo
Information about a transit virtual interface.
Constructor and Description |
---|
NewTransitVirtualInterface() |
Modifier and Type | Method and Description |
---|---|
NewTransitVirtualInterface |
clone() |
boolean |
equals(Object obj) |
String |
getAddressFamily()
The address family for the BGP peer.
|
String |
getAmazonAddress()
The IP address assigned to the Amazon interface.
|
Integer |
getAsn()
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
|
String |
getAuthKey()
The authentication key for BGP configuration.
|
String |
getCustomerAddress()
The IP address assigned to the customer interface.
|
String |
getDirectConnectGatewayId()
The ID of the Direct Connect gateway.
|
Boolean |
getEnableSiteLink()
Indicates whether to enable or disable SiteLink.
|
Integer |
getMtu()
The maximum transmission unit (MTU), in bytes.
|
List<Tag> |
getTags()
The tags associated with the transitive virtual interface.
|
String |
getVirtualInterfaceName()
The name of the virtual interface assigned by the customer network.
|
Integer |
getVlan()
The ID of the VLAN.
|
int |
hashCode() |
Boolean |
isEnableSiteLink()
Indicates whether to enable or disable SiteLink.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAddressFamily(String addressFamily)
The address family for the BGP peer.
|
void |
setAmazonAddress(String amazonAddress)
The IP address assigned to the Amazon interface.
|
void |
setAsn(Integer asn)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
|
void |
setAuthKey(String authKey)
The authentication key for BGP configuration.
|
void |
setCustomerAddress(String customerAddress)
The IP address assigned to the customer interface.
|
void |
setDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
|
void |
setEnableSiteLink(Boolean enableSiteLink)
Indicates whether to enable or disable SiteLink.
|
void |
setMtu(Integer mtu)
The maximum transmission unit (MTU), in bytes.
|
void |
setTags(Collection<Tag> tags)
The tags associated with the transitive virtual interface.
|
void |
setVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer network.
|
void |
setVlan(Integer vlan)
The ID of the VLAN.
|
String |
toString()
Returns a string representation of this object.
|
NewTransitVirtualInterface |
withAddressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
|
NewTransitVirtualInterface |
withAddressFamily(String addressFamily)
The address family for the BGP peer.
|
NewTransitVirtualInterface |
withAmazonAddress(String amazonAddress)
The IP address assigned to the Amazon interface.
|
NewTransitVirtualInterface |
withAsn(Integer asn)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
|
NewTransitVirtualInterface |
withAuthKey(String authKey)
The authentication key for BGP configuration.
|
NewTransitVirtualInterface |
withCustomerAddress(String customerAddress)
The IP address assigned to the customer interface.
|
NewTransitVirtualInterface |
withDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
|
NewTransitVirtualInterface |
withEnableSiteLink(Boolean enableSiteLink)
Indicates whether to enable or disable SiteLink.
|
NewTransitVirtualInterface |
withMtu(Integer mtu)
The maximum transmission unit (MTU), in bytes.
|
NewTransitVirtualInterface |
withTags(Collection<Tag> tags)
The tags associated with the transitive virtual interface.
|
NewTransitVirtualInterface |
withTags(Tag... tags)
The tags associated with the transitive virtual interface.
|
NewTransitVirtualInterface |
withVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer network.
|
NewTransitVirtualInterface |
withVlan(Integer vlan)
The ID of the VLAN.
|
public void setVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
virtualInterfaceName
- The name of the virtual interface assigned by the customer network. The name has a maximum of 100
characters. The following are valid characters: a-z, 0-9 and a hyphen (-).public String getVirtualInterfaceName()
The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
public NewTransitVirtualInterface withVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
virtualInterfaceName
- The name of the virtual interface assigned by the customer network. The name has a maximum of 100
characters. The following are valid characters: a-z, 0-9 and a hyphen (-).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 NewTransitVirtualInterface withVlan(Integer vlan)
The ID of the VLAN.
vlan
- The ID of the VLAN.public void setAsn(Integer asn)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
asn
- The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
public Integer getAsn()
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
The valid values are 1-2147483647.
public NewTransitVirtualInterface withAsn(Integer asn)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
asn
- The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
public void setMtu(Integer mtu)
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500.
mtu
- The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value
is 1500.public Integer getMtu()
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500.
public NewTransitVirtualInterface withMtu(Integer mtu)
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500.
mtu
- The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value
is 1500.public void setAuthKey(String authKey)
The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
authKey
- The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a
maximun lenth of 80 characters.public String getAuthKey()
The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
public NewTransitVirtualInterface withAuthKey(String authKey)
The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
authKey
- The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a
maximun lenth of 80 characters.public void setAmazonAddress(String amazonAddress)
The IP address assigned to the Amazon interface.
amazonAddress
- The IP address assigned to the Amazon interface.public String getAmazonAddress()
The IP address assigned to the Amazon interface.
public NewTransitVirtualInterface withAmazonAddress(String amazonAddress)
The IP address assigned to the Amazon interface.
amazonAddress
- The IP address assigned to the Amazon interface.public void setCustomerAddress(String customerAddress)
The IP address assigned to the customer interface.
customerAddress
- The IP address assigned to the customer interface.public String getCustomerAddress()
The IP address assigned to the customer interface.
public NewTransitVirtualInterface withCustomerAddress(String customerAddress)
The IP address assigned to the customer interface.
customerAddress
- The IP address assigned to the customer interface.public void setAddressFamily(String addressFamily)
The address family for the BGP peer.
addressFamily
- The address family for the BGP peer.AddressFamily
public String getAddressFamily()
The address family for the BGP peer.
AddressFamily
public NewTransitVirtualInterface withAddressFamily(String addressFamily)
The address family for the BGP peer.
addressFamily
- The address family for the BGP peer.AddressFamily
public NewTransitVirtualInterface withAddressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
addressFamily
- The address family for the BGP peer.AddressFamily
public void setDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
directConnectGatewayId
- The ID of the Direct Connect gateway.public String getDirectConnectGatewayId()
The ID of the Direct Connect gateway.
public NewTransitVirtualInterface withDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
directConnectGatewayId
- The ID of the Direct Connect gateway.public List<Tag> getTags()
The tags associated with the transitive virtual interface.
public void setTags(Collection<Tag> tags)
The tags associated with the transitive virtual interface.
tags
- The tags associated with the transitive virtual interface.public NewTransitVirtualInterface withTags(Tag... tags)
The tags associated with the transitive 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 associated with the transitive virtual interface.public NewTransitVirtualInterface withTags(Collection<Tag> tags)
The tags associated with the transitive virtual interface.
tags
- The tags associated with the transitive virtual interface.public void setEnableSiteLink(Boolean enableSiteLink)
Indicates whether to enable or disable SiteLink.
enableSiteLink
- Indicates whether to enable or disable SiteLink.public Boolean getEnableSiteLink()
Indicates whether to enable or disable SiteLink.
public NewTransitVirtualInterface withEnableSiteLink(Boolean enableSiteLink)
Indicates whether to enable or disable SiteLink.
enableSiteLink
- Indicates whether to enable or disable SiteLink.public Boolean isEnableSiteLink()
Indicates whether to enable or disable SiteLink.
public String toString()
toString
in class Object
Object.toString()
public NewTransitVirtualInterface clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.