com.amazonaws.services.directconnect.model
Class NewPrivateVirtualInterface

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

public class NewPrivateVirtualInterface
extends Object
implements Serializable

A structure containing information about a new private virtual interface.

See Also:
Serialized Form

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

Constructor Detail

NewPrivateVirtualInterface

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

getVirtualGatewayId

public String getVirtualGatewayId()
The ID of the virtual private gateway to a VPC. This only applies to private virtual interfaces.

Example: vgw-123er56

Returns:
The ID of the virtual private gateway to a VPC. This only applies to private virtual interfaces.

Example: vgw-123er56


setVirtualGatewayId

public void setVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway to a VPC. This only applies to private virtual interfaces.

Example: vgw-123er56

Parameters:
virtualGatewayId - The ID of the virtual private gateway to a VPC. This only applies to private virtual interfaces.

Example: vgw-123er56


withVirtualGatewayId

public NewPrivateVirtualInterface withVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway to a VPC. This only applies to private virtual interfaces.

Example: vgw-123er56

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

Parameters:
virtualGatewayId - The ID of the virtual private gateway to a VPC. This only applies to private virtual interfaces.

Example: vgw-123er56

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.