public class NewPublicVirtualInterface extends Object implements Serializable, Cloneable
A structure containing information about a new public virtual interface.
Constructor and Description |
---|
NewPublicVirtualInterface() |
Modifier and Type | Method and Description |
---|---|
NewPublicVirtualInterface |
clone() |
boolean |
equals(Object obj) |
String |
getAmazonAddress()
IP address assigned to the Amazon interface.
|
Integer |
getAsn()
Autonomous system (AS) number for Border Gateway Protocol (BGP)
configuration.
|
String |
getAuthKey()
Authentication key for BGP configuration.
|
String |
getCustomerAddress()
IP address assigned to the customer interface.
|
List<RouteFilterPrefix> |
getRouteFilterPrefixes()
A list of routes to be advertised to the AWS network in this region
(public virtual interface) or your VPC (private virtual interface).
|
String |
getVirtualInterfaceName()
The name of the virtual interface assigned by the customer.
|
Integer |
getVlan()
The VLAN ID.
|
int |
hashCode() |
void |
setAmazonAddress(String amazonAddress)
IP address assigned to the Amazon interface.
|
void |
setAsn(Integer asn)
Autonomous system (AS) number for Border Gateway Protocol (BGP)
configuration.
|
void |
setAuthKey(String authKey)
Authentication key for BGP configuration.
|
void |
setCustomerAddress(String customerAddress)
IP address assigned to the customer interface.
|
void |
setRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
A list of routes to be advertised to the AWS network in this region
(public virtual interface) or your VPC (private virtual interface).
|
void |
setVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer.
|
void |
setVlan(Integer vlan)
The VLAN ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NewPublicVirtualInterface |
withAmazonAddress(String amazonAddress)
IP address assigned to the Amazon interface.
|
NewPublicVirtualInterface |
withAsn(Integer asn)
Autonomous system (AS) number for Border Gateway Protocol (BGP)
configuration.
|
NewPublicVirtualInterface |
withAuthKey(String authKey)
Authentication key for BGP configuration.
|
NewPublicVirtualInterface |
withCustomerAddress(String customerAddress)
IP address assigned to the customer interface.
|
NewPublicVirtualInterface |
withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
A list of routes to be advertised to the AWS network in this region
(public virtual interface) or your VPC (private virtual interface).
|
NewPublicVirtualInterface |
withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
A list of routes to be advertised to the AWS network in this region
(public virtual interface) or your VPC (private virtual interface).
|
NewPublicVirtualInterface |
withVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer.
|
NewPublicVirtualInterface |
withVlan(Integer vlan)
The VLAN ID.
|
public String getVirtualInterfaceName()
Example: "My VPC"
Example: "My VPC"
public void setVirtualInterfaceName(String virtualInterfaceName)
Example: "My VPC"
virtualInterfaceName
- The name of the virtual interface assigned by the customer.
Example: "My VPC"
public NewPublicVirtualInterface withVirtualInterfaceName(String virtualInterfaceName)
Example: "My VPC"
Returns a reference to this object so that method calls can be chained together.
virtualInterfaceName
- The name of the virtual interface assigned by the customer.
Example: "My VPC"
public Integer getVlan()
Example: 101
Example: 101
public void setVlan(Integer vlan)
Example: 101
vlan
- The VLAN ID. Example: 101
public NewPublicVirtualInterface withVlan(Integer vlan)
Example: 101
Returns a reference to this object so that method calls can be chained together.
vlan
- The VLAN ID. Example: 101
public Integer getAsn()
Example: 65000
Example: 65000
public void setAsn(Integer asn)
Example: 65000
asn
- Autonomous system (AS) number for Border Gateway Protocol (BGP)
configuration. Example: 65000
public NewPublicVirtualInterface withAsn(Integer asn)
Example: 65000
Returns a reference to this object so that method calls can be chained together.
asn
- Autonomous system (AS) number for Border Gateway Protocol (BGP)
configuration. Example: 65000
public String getAuthKey()
Example: asdf34example
Example: asdf34example
public void setAuthKey(String authKey)
Example: asdf34example
authKey
- Authentication key for BGP configuration. Example: asdf34example
public NewPublicVirtualInterface withAuthKey(String authKey)
Example: asdf34example
Returns a reference to this object so that method calls can be chained together.
authKey
- Authentication key for BGP configuration. Example: asdf34example
public String getAmazonAddress()
Example: 192.168.1.1/30
Example: 192.168.1.1/30
public void setAmazonAddress(String amazonAddress)
Example: 192.168.1.1/30
amazonAddress
- IP address assigned to the Amazon interface. Example: 192.168.1.1/30
public NewPublicVirtualInterface withAmazonAddress(String amazonAddress)
Example: 192.168.1.1/30
Returns a reference to this object so that method calls can be chained together.
amazonAddress
- IP address assigned to the Amazon interface. Example: 192.168.1.1/30
public String getCustomerAddress()
Example: 192.168.1.2/30
Example: 192.168.1.2/30
public void setCustomerAddress(String customerAddress)
Example: 192.168.1.2/30
customerAddress
- IP address assigned to the customer interface. Example: 192.168.1.2/30
public NewPublicVirtualInterface withCustomerAddress(String customerAddress)
Example: 192.168.1.2/30
Returns a reference to this object so that method calls can be chained together.
customerAddress
- IP address assigned to the customer interface. Example: 192.168.1.2/30
public List<RouteFilterPrefix> getRouteFilterPrefixes()
public void setRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
routeFilterPrefixes
- A list of routes to be advertised to the AWS network in this region
(public virtual interface) or your VPC (private virtual interface).public NewPublicVirtualInterface withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
NOTE: This method appends the values to the existing list (if
any). Use setRouteFilterPrefixes(java.util.Collection)
or
withRouteFilterPrefixes(java.util.Collection)
if you want to
override the existing values.
Returns a reference to this object so that method calls can be chained together.
routeFilterPrefixes
- A list of routes to be advertised to the AWS network in this region
(public virtual interface) or your VPC (private virtual interface).public NewPublicVirtualInterface withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
Returns a reference to this object so that method calls can be chained together.
routeFilterPrefixes
- A list of routes to be advertised to the AWS network in this region
(public virtual interface) or your VPC (private virtual interface).public String toString()
toString
in class Object
Object.toString()
public NewPublicVirtualInterface clone()
Copyright © 2015. All rights reserved.