Did this page help you?

   Yes   No   Tell us about it...

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()
          Returns the value of the CustomerAddress property for this object.
 String getVirtualGatewayId()
          Virtual private gateway to a VPC.
 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 setVirtualGatewayId(String virtualGatewayId)
          Virtual private gateway to a VPC.
 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.
 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)
          Sets the value of the CustomerAddress property for this object.
 NewPrivateVirtualInterface withVirtualGatewayId(String virtualGatewayId)
          Virtual private gateway to a VPC.
 NewPrivateVirtualInterface withVirtualInterfaceName(String virtualInterfaceName)
          The name of the virtual interface assigned by the customer
 NewPrivateVirtualInterface withVlan(Integer vlan)
          VLAN ID
 
Methods inherited from class java.lang.Object
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: "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 NewPrivateVirtualInterface 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 NewPrivateVirtualInterface 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 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

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 NewPrivateVirtualInterface 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 NewPrivateVirtualInterface 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.

getVirtualGatewayId

public String getVirtualGatewayId()
Virtual private gateway to a VPC.

Example: vgw-123er56

Returns:
Virtual private gateway to a VPC.

Example: vgw-123er56


setVirtualGatewayId

public void setVirtualGatewayId(String virtualGatewayId)
Virtual private gateway to a VPC.

Example: vgw-123er56

Parameters:
virtualGatewayId - Virtual private gateway to a VPC.

Example: vgw-123er56


withVirtualGatewayId

public NewPrivateVirtualInterface withVirtualGatewayId(String virtualGatewayId)
Virtual private gateway to a VPC.

Example: vgw-123er56

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

Parameters:
virtualGatewayId - Virtual private gateway to a VPC.

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 © 2010 Amazon Web Services, Inc. All Rights Reserved.