public class NewPublicVirtualInterface extends Object implements Serializable
A structure containing information about a new public virtual interface.
Constructor and Description |
---|
NewPublicVirtualInterface() |
Modifier and Type | Method and Description |
---|---|
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()
Returns the value of the CustomerAddress property for this object.
|
List<RouteFilterPrefix> |
getRouteFilterPrefixes()
A list of route filter prefixes.
|
String |
getVirtualInterfaceName()
The name of the virtual interface assigned by the customer
|
Integer |
getVlan()
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)
Sets the value of the CustomerAddress property for this object.
|
void |
setRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
A list of route filter prefixes.
|
void |
setVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer
|
void |
setVlan(Integer vlan)
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)
Sets the value of the CustomerAddress property for this object.
|
NewPublicVirtualInterface |
withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
A list of route filter prefixes.
|
NewPublicVirtualInterface |
withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
A list of route filter prefixes.
|
NewPublicVirtualInterface |
withVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer
|
NewPublicVirtualInterface |
withVlan(Integer vlan)
VLAN ID
|
public String getVirtualInterfaceName()
Example: "Dev VPC"
Example: "Dev VPC"
public void setVirtualInterfaceName(String virtualInterfaceName)
Example: "Dev VPC"
virtualInterfaceName
- The name of the virtual interface assigned by the customer Example: "Dev VPC"
public NewPublicVirtualInterface withVirtualInterfaceName(String virtualInterfaceName)
Example: "Dev 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: "Dev VPC"
public Integer getVlan()
Example: 101
Example: 101
public void setVlan(Integer vlan)
Example: 101
vlan
- 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
- 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
Example: 192.168.1.1
public void setAmazonAddress(String amazonAddress)
Example: 192.168.1.1
amazonAddress
- IP address assigned to the Amazon interface. Example: 192.168.1.1
public NewPublicVirtualInterface withAmazonAddress(String amazonAddress)
Example: 192.168.1.1
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
public String getCustomerAddress()
public void setCustomerAddress(String customerAddress)
customerAddress
- The new value for the CustomerAddress property for this object.public NewPublicVirtualInterface withCustomerAddress(String customerAddress)
Returns a reference to this object so that method calls can be chained together.
customerAddress
- The new value for the CustomerAddress property for this object.public List<RouteFilterPrefix> getRouteFilterPrefixes()
public void setRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
routeFilterPrefixes
- A list of route filter prefixes.public NewPublicVirtualInterface withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
Returns a reference to this object so that method calls can be chained together.
routeFilterPrefixes
- A list of route filter prefixes.public NewPublicVirtualInterface withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
Returns a reference to this object so that method calls can be chained together.
routeFilterPrefixes
- A list of route filter prefixes.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.