Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.directconnect.model
Class NewPublicVirtualInterface

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

public class NewPublicVirtualInterface
extends Object
implements Serializable

A structure containing information about a new public virtual interface.

See Also:
Serialized Form

Constructor Summary
NewPublicVirtualInterface()
           
 
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()
          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
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NewPublicVirtualInterface

public NewPublicVirtualInterface()
Method Detail

getVirtualInterfaceName

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

Example: "Dev VPC"

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

Example: "Dev VPC"


setVirtualInterfaceName

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

Example: "Dev VPC"

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

Example: "Dev VPC"


withVirtualInterfaceName

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

Example: "Dev 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: "Dev VPC"

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

getVlan

public Integer getVlan()
VLAN ID

Example: 101

Returns:
VLAN ID

Example: 101


setVlan

public void setVlan(Integer vlan)
VLAN ID

Example: 101

Parameters:
vlan - VLAN ID

Example: 101


withVlan

public NewPublicVirtualInterface withVlan(Integer vlan)
VLAN ID

Example: 101

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

Parameters:
vlan - 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 NewPublicVirtualInterface 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 NewPublicVirtualInterface 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

Returns:
IP address assigned to the Amazon interface.

Example: 192.168.1.1


setAmazonAddress

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

Example: 192.168.1.1

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

Example: 192.168.1.1


withAmazonAddress

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

Example: 192.168.1.1

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

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

getCustomerAddress

public String getCustomerAddress()
Returns the value of the CustomerAddress property for this object.

Returns:
The value of the CustomerAddress property for this object.

setCustomerAddress

public void setCustomerAddress(String customerAddress)
Sets the value of the CustomerAddress property for this object.

Parameters:
customerAddress - The new value for the CustomerAddress property for this object.

withCustomerAddress

public NewPublicVirtualInterface withCustomerAddress(String customerAddress)
Sets the value of the CustomerAddress property for this object.

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

Parameters:
customerAddress - The new value for the CustomerAddress property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getRouteFilterPrefixes

public List<RouteFilterPrefix> getRouteFilterPrefixes()
A list of route filter prefixes.

Returns:
A list of route filter prefixes.

setRouteFilterPrefixes

public void setRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
A list of route filter prefixes.

Parameters:
routeFilterPrefixes - A list of route filter prefixes.

withRouteFilterPrefixes

public NewPublicVirtualInterface withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
A list of route filter prefixes.

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

Parameters:
routeFilterPrefixes - A list of route filter prefixes.
Returns:
A reference to this updated object so that method calls can be chained together.

withRouteFilterPrefixes

public NewPublicVirtualInterface withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
A list of route filter prefixes.

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

Parameters:
routeFilterPrefixes - A list of route filter prefixes.
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 © 2010 Amazon Web Services, Inc. All Rights Reserved.