@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VirtualInterface extends Object implements Serializable, Cloneable, StructuredPojo
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 |
getAddressFamily() |
String |
getAmazonAddress() |
Long |
getAmazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
|
Integer |
getAsn() |
String |
getAuthKey() |
String |
getAwsDeviceV2()
The Direct Connection endpoint which the virtual interface terminates on.
|
List<BGPPeer> |
getBgpPeers() |
String |
getConnectionId() |
String |
getCustomerAddress() |
String |
getCustomerRouterConfig()
Information for generating the customer router configuration.
|
String |
getDirectConnectGatewayId() |
String |
getLocation() |
String |
getOwnerAccount()
The AWS account that will own the new virtual interface.
|
String |
getRegion()
The AWS region where the virtual interface is located.
|
List<RouteFilterPrefix> |
getRouteFilterPrefixes() |
String |
getVirtualGatewayId() |
String |
getVirtualInterfaceId() |
String |
getVirtualInterfaceName() |
String |
getVirtualInterfaceState() |
String |
getVirtualInterfaceType() |
Integer |
getVlan() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAddressFamily(AddressFamily addressFamily) |
void |
setAddressFamily(String addressFamily) |
void |
setAmazonAddress(String amazonAddress) |
void |
setAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
|
void |
setAsn(Integer asn) |
void |
setAuthKey(String authKey) |
void |
setAwsDeviceV2(String awsDeviceV2)
The Direct Connection endpoint which the virtual interface terminates on.
|
void |
setBgpPeers(Collection<BGPPeer> bgpPeers) |
void |
setConnectionId(String connectionId) |
void |
setCustomerAddress(String customerAddress) |
void |
setCustomerRouterConfig(String customerRouterConfig)
Information for generating the customer router configuration.
|
void |
setDirectConnectGatewayId(String directConnectGatewayId) |
void |
setLocation(String location) |
void |
setOwnerAccount(String ownerAccount)
The AWS account that will own the new virtual interface.
|
void |
setRegion(String region)
The AWS region where the virtual interface is located.
|
void |
setRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes) |
void |
setVirtualGatewayId(String virtualGatewayId) |
void |
setVirtualInterfaceId(String virtualInterfaceId) |
void |
setVirtualInterfaceName(String virtualInterfaceName) |
void |
setVirtualInterfaceState(String virtualInterfaceState) |
void |
setVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState) |
void |
setVirtualInterfaceType(String virtualInterfaceType) |
void |
setVlan(Integer vlan) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
VirtualInterface |
withAddressFamily(AddressFamily addressFamily) |
VirtualInterface |
withAddressFamily(String addressFamily) |
VirtualInterface |
withAmazonAddress(String amazonAddress) |
VirtualInterface |
withAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
|
VirtualInterface |
withAsn(Integer asn) |
VirtualInterface |
withAuthKey(String authKey) |
VirtualInterface |
withAwsDeviceV2(String awsDeviceV2)
The Direct Connection endpoint which the virtual interface terminates on.
|
VirtualInterface |
withBgpPeers(BGPPeer... bgpPeers)
NOTE: This method appends the values to the existing list (if any).
|
VirtualInterface |
withBgpPeers(Collection<BGPPeer> bgpPeers) |
VirtualInterface |
withConnectionId(String connectionId) |
VirtualInterface |
withCustomerAddress(String customerAddress) |
VirtualInterface |
withCustomerRouterConfig(String customerRouterConfig)
Information for generating the customer router configuration.
|
VirtualInterface |
withDirectConnectGatewayId(String directConnectGatewayId) |
VirtualInterface |
withLocation(String location) |
VirtualInterface |
withOwnerAccount(String ownerAccount)
The AWS account that will own the new virtual interface.
|
VirtualInterface |
withRegion(String region)
The AWS region where the virtual interface is located.
|
VirtualInterface |
withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes) |
VirtualInterface |
withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
NOTE: This method appends the values to the existing list (if any).
|
VirtualInterface |
withVirtualGatewayId(String virtualGatewayId) |
VirtualInterface |
withVirtualInterfaceId(String virtualInterfaceId) |
VirtualInterface |
withVirtualInterfaceName(String virtualInterfaceName) |
VirtualInterface |
withVirtualInterfaceState(String virtualInterfaceState) |
VirtualInterface |
withVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState) |
VirtualInterface |
withVirtualInterfaceType(String virtualInterfaceType) |
VirtualInterface |
withVlan(Integer vlan) |
public void setOwnerAccount(String ownerAccount)
The AWS account that will own the new virtual interface.
ownerAccount
- The AWS account that will own the new virtual interface.public String getOwnerAccount()
The AWS account that will own the new virtual interface.
public VirtualInterface withOwnerAccount(String ownerAccount)
The AWS account that will own the new virtual interface.
ownerAccount
- The AWS account that will own the new virtual interface.public void setVirtualInterfaceId(String virtualInterfaceId)
virtualInterfaceId
- public String getVirtualInterfaceId()
public VirtualInterface withVirtualInterfaceId(String virtualInterfaceId)
virtualInterfaceId
- public void setLocation(String location)
location
- public String getLocation()
public VirtualInterface withLocation(String location)
location
- public void setConnectionId(String connectionId)
connectionId
- public String getConnectionId()
public VirtualInterface withConnectionId(String connectionId)
connectionId
- public void setVirtualInterfaceType(String virtualInterfaceType)
virtualInterfaceType
- public String getVirtualInterfaceType()
public VirtualInterface withVirtualInterfaceType(String virtualInterfaceType)
virtualInterfaceType
- public void setVirtualInterfaceName(String virtualInterfaceName)
virtualInterfaceName
- public String getVirtualInterfaceName()
public VirtualInterface withVirtualInterfaceName(String virtualInterfaceName)
virtualInterfaceName
- public void setVlan(Integer vlan)
vlan
- public Integer getVlan()
public VirtualInterface withVlan(Integer vlan)
vlan
- public void setAsn(Integer asn)
asn
- public Integer getAsn()
public VirtualInterface withAsn(Integer asn)
asn
- public void setAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
amazonSideAsn
- The autonomous system number (ASN) for the Amazon side of the connection.public Long getAmazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
public VirtualInterface withAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
amazonSideAsn
- The autonomous system number (ASN) for the Amazon side of the connection.public void setAuthKey(String authKey)
authKey
- public String getAuthKey()
public VirtualInterface withAuthKey(String authKey)
authKey
- public void setAmazonAddress(String amazonAddress)
amazonAddress
- public String getAmazonAddress()
public VirtualInterface withAmazonAddress(String amazonAddress)
amazonAddress
- public void setCustomerAddress(String customerAddress)
customerAddress
- public String getCustomerAddress()
public VirtualInterface withCustomerAddress(String customerAddress)
customerAddress
- public void setAddressFamily(String addressFamily)
addressFamily
- AddressFamily
public String getAddressFamily()
AddressFamily
public VirtualInterface withAddressFamily(String addressFamily)
addressFamily
- AddressFamily
public void setAddressFamily(AddressFamily addressFamily)
addressFamily
- AddressFamily
public VirtualInterface withAddressFamily(AddressFamily addressFamily)
addressFamily
- AddressFamily
public void setVirtualInterfaceState(String virtualInterfaceState)
virtualInterfaceState
- VirtualInterfaceState
public String getVirtualInterfaceState()
VirtualInterfaceState
public VirtualInterface withVirtualInterfaceState(String virtualInterfaceState)
virtualInterfaceState
- VirtualInterfaceState
public void setVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
virtualInterfaceState
- VirtualInterfaceState
public VirtualInterface withVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
virtualInterfaceState
- VirtualInterfaceState
public void setCustomerRouterConfig(String customerRouterConfig)
Information for generating the customer router configuration.
customerRouterConfig
- Information for generating the customer router configuration.public String getCustomerRouterConfig()
Information for generating the customer router configuration.
public VirtualInterface withCustomerRouterConfig(String customerRouterConfig)
Information for generating the customer router configuration.
customerRouterConfig
- Information for generating the customer router configuration.public void setVirtualGatewayId(String virtualGatewayId)
virtualGatewayId
- public String getVirtualGatewayId()
public VirtualInterface withVirtualGatewayId(String virtualGatewayId)
virtualGatewayId
- public void setDirectConnectGatewayId(String directConnectGatewayId)
directConnectGatewayId
- public String getDirectConnectGatewayId()
public VirtualInterface withDirectConnectGatewayId(String directConnectGatewayId)
directConnectGatewayId
- public List<RouteFilterPrefix> getRouteFilterPrefixes()
public void setRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
routeFilterPrefixes
- 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.
routeFilterPrefixes
- public VirtualInterface withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
routeFilterPrefixes
- public void setBgpPeers(Collection<BGPPeer> bgpPeers)
bgpPeers
- public VirtualInterface withBgpPeers(BGPPeer... bgpPeers)
NOTE: This method appends the values to the existing list (if any). Use
setBgpPeers(java.util.Collection)
or withBgpPeers(java.util.Collection)
if you want to override
the existing values.
bgpPeers
- public VirtualInterface withBgpPeers(Collection<BGPPeer> bgpPeers)
bgpPeers
- public void setRegion(String region)
The AWS region where the virtual interface is located.
Example: us-east-1
Default: None
region
- The AWS region where the virtual interface is located.
Example: us-east-1
Default: None
public String getRegion()
The AWS region where the virtual interface is located.
Example: us-east-1
Default: None
Example: us-east-1
Default: None
public VirtualInterface withRegion(String region)
The AWS region where the virtual interface is located.
Example: us-east-1
Default: None
region
- The AWS region where the virtual interface is located.
Example: us-east-1
Default: None
public void setAwsDeviceV2(String awsDeviceV2)
The Direct Connection endpoint which the virtual interface terminates on.
awsDeviceV2
- The Direct Connection endpoint which the virtual interface terminates on.public String getAwsDeviceV2()
The Direct Connection endpoint which the virtual interface terminates on.
public VirtualInterface withAwsDeviceV2(String awsDeviceV2)
The Direct Connection endpoint which the virtual interface terminates on.
awsDeviceV2
- The Direct Connection endpoint which the virtual interface terminates on.public String toString()
toString
in class Object
Object.toString()
public VirtualInterface clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.