com.amazonaws.services.directconnect.model
Class NewPrivateVirtualInterfaceAllocation

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

public class NewPrivateVirtualInterfaceAllocation
extends Object
implements Serializable

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

See Also:
Serialized Form

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

Constructor Detail

NewPrivateVirtualInterfaceAllocation

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

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.