public class VirtualInterface extends Object implements Serializable, Cloneable
A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer.
Constructor and Description |
---|
VirtualInterface() |
Modifier and Type | Method and Description |
---|---|
VirtualInterface |
clone() |
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 |
getConnectionId()
ID of the connection.
|
String |
getCustomerAddress()
IP address assigned to the customer interface.
|
String |
getCustomerRouterConfig()
Information for generating the customer router configuration.
|
String |
getLocation()
Where the connection is located.
|
String |
getOwnerAccount()
Returns the value of the OwnerAccount property for this object.
|
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 |
getVirtualGatewayId()
The ID of the virtual private gateway to a VPC.
|
String |
getVirtualInterfaceId()
ID of the virtual interface.
|
String |
getVirtualInterfaceName()
The name of the virtual interface assigned by the customer.
|
String |
getVirtualInterfaceState()
State of the virtual interface.
|
String |
getVirtualInterfaceType()
The type of virtual interface.
|
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 |
setConnectionId(String connectionId)
ID of the connection.
|
void |
setCustomerAddress(String customerAddress)
IP address assigned to the customer interface.
|
void |
setCustomerRouterConfig(String customerRouterConfig)
Information for generating the customer router configuration.
|
void |
setLocation(String location)
Where the connection is located.
|
void |
setOwnerAccount(String ownerAccount)
Sets the value of the OwnerAccount property for this object.
|
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 |
setVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway to a VPC.
|
void |
setVirtualInterfaceId(String virtualInterfaceId)
ID of the virtual interface.
|
void |
setVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer.
|
void |
setVirtualInterfaceState(String virtualInterfaceState)
State of the virtual interface.
|
void |
setVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
State of the virtual interface.
|
void |
setVirtualInterfaceType(String virtualInterfaceType)
The type of virtual interface.
|
void |
setVlan(Integer vlan)
The VLAN ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VirtualInterface |
withAmazonAddress(String amazonAddress)
IP address assigned to the Amazon interface.
|
VirtualInterface |
withAsn(Integer asn)
Autonomous system (AS) number for Border Gateway Protocol (BGP)
configuration.
|
VirtualInterface |
withAuthKey(String authKey)
Authentication key for BGP configuration.
|
VirtualInterface |
withConnectionId(String connectionId)
ID of the connection.
|
VirtualInterface |
withCustomerAddress(String customerAddress)
IP address assigned to the customer interface.
|
VirtualInterface |
withCustomerRouterConfig(String customerRouterConfig)
Information for generating the customer router configuration.
|
VirtualInterface |
withLocation(String location)
Where the connection is located.
|
VirtualInterface |
withOwnerAccount(String ownerAccount)
Sets the value of the OwnerAccount property for this object.
|
VirtualInterface |
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).
|
VirtualInterface |
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).
|
VirtualInterface |
withVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway to a VPC.
|
VirtualInterface |
withVirtualInterfaceId(String virtualInterfaceId)
ID of the virtual interface.
|
VirtualInterface |
withVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer.
|
VirtualInterface |
withVirtualInterfaceState(String virtualInterfaceState)
State of the virtual interface.
|
VirtualInterface |
withVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
State of the virtual interface.
|
VirtualInterface |
withVirtualInterfaceType(String virtualInterfaceType)
The type of virtual interface.
|
VirtualInterface |
withVlan(Integer vlan)
The VLAN ID.
|
public String getOwnerAccount()
public void setOwnerAccount(String ownerAccount)
ownerAccount
- The new value for the OwnerAccount property for this object.public VirtualInterface withOwnerAccount(String ownerAccount)
Returns a reference to this object so that method calls can be chained together.
ownerAccount
- The new value for the OwnerAccount property for this object.public String getVirtualInterfaceId()
Example: dxvif-123dfg56
Default: None
Example: dxvif-123dfg56
Default: None
public void setVirtualInterfaceId(String virtualInterfaceId)
Example: dxvif-123dfg56
Default: None
virtualInterfaceId
- ID of the virtual interface. Example: dxvif-123dfg56
Default: None
public VirtualInterface withVirtualInterfaceId(String virtualInterfaceId)
Example: dxvif-123dfg56
Default: None
Returns a reference to this object so that method calls can be chained together.
virtualInterfaceId
- ID of the virtual interface. Example: dxvif-123dfg56
Default: None
public String getLocation()
Example: EqSV5
Default: None
Example: EqSV5
Default: None
public void setLocation(String location)
Example: EqSV5
Default: None
location
- Where the connection is located. Example: EqSV5
Default: None
public VirtualInterface withLocation(String location)
Example: EqSV5
Default: None
Returns a reference to this object so that method calls can be chained together.
location
- Where the connection is located. Example: EqSV5
Default: None
public String getConnectionId()
Example: dxcon-fg5678gh
Default: None
Example: dxcon-fg5678gh
Default: None
public void setConnectionId(String connectionId)
Example: dxcon-fg5678gh
Default: None
connectionId
- ID of the connection. Example: dxcon-fg5678gh
Default: None
public VirtualInterface withConnectionId(String connectionId)
Example: dxcon-fg5678gh
Default: None
Returns a reference to this object so that method calls can be chained together.
connectionId
- ID of the connection. Example: dxcon-fg5678gh
Default: None
public String getVirtualInterfaceType()
Example: private (Amazon VPC) or public (Amazon S3, Amazon DynamoDB, and so on.)
Example: private (Amazon VPC) or public (Amazon S3, Amazon DynamoDB, and so on.)
public void setVirtualInterfaceType(String virtualInterfaceType)
Example: private (Amazon VPC) or public (Amazon S3, Amazon DynamoDB, and so on.)
virtualInterfaceType
- The type of virtual interface. Example: private (Amazon VPC) or public (Amazon S3, Amazon DynamoDB, and so on.)
public VirtualInterface withVirtualInterfaceType(String virtualInterfaceType)
Example: private (Amazon VPC) or public (Amazon S3, Amazon DynamoDB, and so on.)
Returns a reference to this object so that method calls can be chained together.
virtualInterfaceType
- The type of virtual interface. Example: private (Amazon VPC) or public (Amazon S3, Amazon DynamoDB, and so on.)
public String getVirtualInterfaceName()
Example: "My VPC"
Example: "My VPC"
public void setVirtualInterfaceName(String virtualInterfaceName)
Example: "My VPC"
virtualInterfaceName
- The name of the virtual interface assigned by the customer.
Example: "My VPC"
public VirtualInterface withVirtualInterfaceName(String virtualInterfaceName)
Example: "My VPC"
Returns a reference to this object so that method calls can be chained together.
virtualInterfaceName
- The name of the virtual interface assigned by the customer.
Example: "My VPC"
public Integer getVlan()
Example: 101
Example: 101
public void setVlan(Integer vlan)
Example: 101
vlan
- The VLAN ID. Example: 101
public VirtualInterface withVlan(Integer vlan)
Example: 101
Returns a reference to this object so that method calls can be chained together.
vlan
- The VLAN ID. Example: 101
public Integer getAsn()
Example: 65000
Example: 65000
public void setAsn(Integer asn)
Example: 65000
asn
- Autonomous system (AS) number for Border Gateway Protocol (BGP)
configuration. Example: 65000
public VirtualInterface withAsn(Integer asn)
Example: 65000
Returns a reference to this object so that method calls can be chained together.
asn
- Autonomous system (AS) number for Border Gateway Protocol (BGP)
configuration. Example: 65000
public String getAuthKey()
Example: asdf34example
Example: asdf34example
public void setAuthKey(String authKey)
Example: asdf34example
authKey
- Authentication key for BGP configuration. Example: asdf34example
public VirtualInterface withAuthKey(String authKey)
Example: asdf34example
Returns a reference to this object so that method calls can be chained together.
authKey
- Authentication key for BGP configuration. Example: asdf34example
public String getAmazonAddress()
Example: 192.168.1.1/30
Example: 192.168.1.1/30
public void setAmazonAddress(String amazonAddress)
Example: 192.168.1.1/30
amazonAddress
- IP address assigned to the Amazon interface. Example: 192.168.1.1/30
public VirtualInterface withAmazonAddress(String amazonAddress)
Example: 192.168.1.1/30
Returns a reference to this object so that method calls can be chained together.
amazonAddress
- IP address assigned to the Amazon interface. Example: 192.168.1.1/30
public String getCustomerAddress()
Example: 192.168.1.2/30
Example: 192.168.1.2/30
public void setCustomerAddress(String customerAddress)
Example: 192.168.1.2/30
customerAddress
- IP address assigned to the customer interface. Example: 192.168.1.2/30
public VirtualInterface withCustomerAddress(String customerAddress)
Example: 192.168.1.2/30
Returns a reference to this object so that method calls can be chained together.
customerAddress
- IP address assigned to the customer interface. Example: 192.168.1.2/30
public String getVirtualInterfaceState()
Constraints:
Allowed Values: confirming, verifying, pending, available, deleting, deleted, rejected
VirtualInterfaceState
public void setVirtualInterfaceState(String virtualInterfaceState)
Constraints:
Allowed Values: confirming, verifying, pending, available, deleting, deleted, rejected
virtualInterfaceState
- State of the virtual interface. VirtualInterfaceState
public VirtualInterface withVirtualInterfaceState(String virtualInterfaceState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: confirming, verifying, pending, available, deleting, deleted, rejected
virtualInterfaceState
- State of the virtual interface. VirtualInterfaceState
public void setVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
Constraints:
Allowed Values: confirming, verifying, pending, available, deleting, deleted, rejected
virtualInterfaceState
- State of the virtual interface. VirtualInterfaceState
public VirtualInterface withVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: confirming, verifying, pending, available, deleting, deleted, rejected
virtualInterfaceState
- State of the virtual interface. VirtualInterfaceState
public String getCustomerRouterConfig()
public void setCustomerRouterConfig(String customerRouterConfig)
customerRouterConfig
- Information for generating the customer router configuration.public VirtualInterface withCustomerRouterConfig(String customerRouterConfig)
Returns a reference to this object so that method calls can be chained together.
customerRouterConfig
- Information for generating the customer router configuration.public String getVirtualGatewayId()
Example: vgw-123er56
Example: vgw-123er56
public void setVirtualGatewayId(String virtualGatewayId)
Example: vgw-123er56
virtualGatewayId
- The ID of the virtual private gateway to a VPC. This only applies to
private virtual interfaces. Example: vgw-123er56
public VirtualInterface withVirtualGatewayId(String virtualGatewayId)
Example: vgw-123er56
Returns a reference to this object so that method calls can be chained together.
virtualGatewayId
- The ID of the virtual private gateway to a VPC. This only applies to
private virtual interfaces. Example: vgw-123er56
public List<RouteFilterPrefix> getRouteFilterPrefixes()
public void setRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
routeFilterPrefixes
- A list of routes to be advertised to the AWS network in this region
(public virtual interface) or your VPC (private virtual interface).public VirtualInterface withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
NOTE: This method appends the values to the existing list (if
any). Use setRouteFilterPrefixes(java.util.Collection)
or
withRouteFilterPrefixes(java.util.Collection)
if you want to
override the existing values.
Returns a reference to this object so that method calls can be chained together.
routeFilterPrefixes
- A list of routes to be advertised to the AWS network in this region
(public virtual interface) or your VPC (private virtual interface).public VirtualInterface withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
Returns a reference to this object so that method calls can be chained together.
routeFilterPrefixes
- A list of routes to be advertised to the AWS network in this region
(public virtual interface) or your VPC (private virtual interface).public String toString()
toString
in class Object
Object.toString()
public VirtualInterface clone()
Copyright © 2015. All rights reserved.