com.amazonaws.services.directconnect.model
Class NewPublicVirtualInterfaceAllocation

java.lang.Object
  extended by com.amazonaws.services.directconnect.model.NewPublicVirtualInterfaceAllocation
All Implemented Interfaces:
Serializable

public class NewPublicVirtualInterfaceAllocation
extends Object
implements Serializable

A structure containing information about a public virtual interface that will be provisioned on a connection.

See Also:
Serialized Form

Constructor Summary
NewPublicVirtualInterfaceAllocation()
           
 
Method Summary
 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.
 NewPublicVirtualInterfaceAllocation withAmazonAddress(String amazonAddress)
          IP address assigned to the Amazon interface.
 NewPublicVirtualInterfaceAllocation withAsn(Integer asn)
          Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
 NewPublicVirtualInterfaceAllocation withAuthKey(String authKey)
          Authentication key for BGP configuration.
 NewPublicVirtualInterfaceAllocation withCustomerAddress(String customerAddress)
          IP address assigned to the customer interface.
 NewPublicVirtualInterfaceAllocation 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).
 NewPublicVirtualInterfaceAllocation 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).
 NewPublicVirtualInterfaceAllocation withVirtualInterfaceName(String virtualInterfaceName)
          The name of the virtual interface assigned by the customer.
 NewPublicVirtualInterfaceAllocation withVlan(Integer vlan)
          The VLAN ID.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NewPublicVirtualInterfaceAllocation

public NewPublicVirtualInterfaceAllocation()
Method Detail

getVirtualInterfaceName

public String getVirtualInterfaceName()
The name of the virtual interface assigned by the customer.

Example: "My VPC"

Returns:
The name of the virtual interface assigned by the customer.

Example: "My VPC"


setVirtualInterfaceName

public void setVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer.

Example: "My VPC"

Parameters:
virtualInterfaceName - The name of the virtual interface assigned by the customer.

Example: "My VPC"


withVirtualInterfaceName

public NewPublicVirtualInterfaceAllocation withVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer.

Example: "My VPC"

Returns a reference to this object so that method calls can be chained together.

Parameters:
virtualInterfaceName - The name of the virtual interface assigned by the customer.

Example: "My VPC"

Returns:
A reference to this updated object so that method calls can be chained together.

getVlan

public Integer getVlan()
The VLAN ID.

Example: 101

Returns:
The VLAN ID.

Example: 101


setVlan

public void setVlan(Integer vlan)
The VLAN ID.

Example: 101

Parameters:
vlan - The VLAN ID.

Example: 101


withVlan

public NewPublicVirtualInterfaceAllocation withVlan(Integer vlan)
The VLAN ID.

Example: 101

Returns a reference to this object so that method calls can be chained together.

Parameters:
vlan - The VLAN ID.

Example: 101

Returns:
A reference to this updated object so that method calls can be chained together.

getAsn

public Integer getAsn()
Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

Example: 65000

Returns:
Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

Example: 65000


setAsn

public void setAsn(Integer asn)
Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

Example: 65000

Parameters:
asn - Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

Example: 65000


withAsn

public NewPublicVirtualInterfaceAllocation withAsn(Integer asn)
Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

Example: 65000

Returns a reference to this object so that method calls can be chained together.

Parameters:
asn - Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

Example: 65000

Returns:
A reference to this updated object so that method calls can be chained together.

getAuthKey

public String getAuthKey()
Authentication key for BGP configuration.

Example: asdf34example

Returns:
Authentication key for BGP configuration.

Example: asdf34example


setAuthKey

public void setAuthKey(String authKey)
Authentication key for BGP configuration.

Example: asdf34example

Parameters:
authKey - Authentication key for BGP configuration.

Example: asdf34example


withAuthKey

public NewPublicVirtualInterfaceAllocation withAuthKey(String authKey)
Authentication key for BGP configuration.

Example: asdf34example

Returns a reference to this object so that method calls can be chained together.

Parameters:
authKey - Authentication key for BGP configuration.

Example: asdf34example

Returns:
A reference to this updated object so that method calls can be chained together.

getAmazonAddress

public String getAmazonAddress()
IP address assigned to the Amazon interface.

Example: 192.168.1.1/30

Returns:
IP address assigned to the Amazon interface.

Example: 192.168.1.1/30


setAmazonAddress

public void setAmazonAddress(String amazonAddress)
IP address assigned to the Amazon interface.

Example: 192.168.1.1/30

Parameters:
amazonAddress - IP address assigned to the Amazon interface.

Example: 192.168.1.1/30


withAmazonAddress

public NewPublicVirtualInterfaceAllocation withAmazonAddress(String amazonAddress)
IP address assigned to the Amazon interface.

Example: 192.168.1.1/30

Returns a reference to this object so that method calls can be chained together.

Parameters:
amazonAddress - IP address assigned to the Amazon interface.

Example: 192.168.1.1/30

Returns:
A reference to this updated object so that method calls can be chained together.

getCustomerAddress

public String getCustomerAddress()
IP address assigned to the customer interface.

Example: 192.168.1.2/30

Returns:
IP address assigned to the customer interface.

Example: 192.168.1.2/30


setCustomerAddress

public void setCustomerAddress(String customerAddress)
IP address assigned to the customer interface.

Example: 192.168.1.2/30

Parameters:
customerAddress - IP address assigned to the customer interface.

Example: 192.168.1.2/30


withCustomerAddress

public NewPublicVirtualInterfaceAllocation withCustomerAddress(String customerAddress)
IP address assigned to the customer interface.

Example: 192.168.1.2/30

Returns a reference to this object so that method calls can be chained together.

Parameters:
customerAddress - IP address assigned to the customer interface.

Example: 192.168.1.2/30

Returns:
A reference to this updated object so that method calls can be chained together.

getRouteFilterPrefixes

public 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).

Returns:
A list of routes to be advertised to the AWS network in this region (public virtual interface) or your VPC (private virtual interface).

setRouteFilterPrefixes

public 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).

Parameters:
routeFilterPrefixes - A list of routes to be advertised to the AWS network in this region (public virtual interface) or your VPC (private virtual interface).

withRouteFilterPrefixes

public NewPublicVirtualInterfaceAllocation 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).

Returns a reference to this object so that method calls can be chained together.

Parameters:
routeFilterPrefixes - A list of routes to be advertised to the AWS network in this region (public virtual interface) or your VPC (private virtual interface).
Returns:
A reference to this updated object so that method calls can be chained together.

withRouteFilterPrefixes

public NewPublicVirtualInterfaceAllocation 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).

Returns a reference to this object so that method calls can be chained together.

Parameters:
routeFilterPrefixes - A list of routes to be advertised to the AWS network in this region (public virtual interface) or your VPC (private virtual interface).
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.