@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AllocatePrivateVirtualInterfaceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer.
Constructor and Description |
---|
AllocatePrivateVirtualInterfaceResult() |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public AllocatePrivateVirtualInterfaceResult()
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 AllocatePrivateVirtualInterfaceResult 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 AllocatePrivateVirtualInterfaceResult withVirtualInterfaceId(String virtualInterfaceId)
virtualInterfaceId
- public void setLocation(String location)
location
- public String getLocation()
public AllocatePrivateVirtualInterfaceResult withLocation(String location)
location
- public void setConnectionId(String connectionId)
connectionId
- public String getConnectionId()
public AllocatePrivateVirtualInterfaceResult withConnectionId(String connectionId)
connectionId
- public void setVirtualInterfaceType(String virtualInterfaceType)
virtualInterfaceType
- public String getVirtualInterfaceType()
public AllocatePrivateVirtualInterfaceResult withVirtualInterfaceType(String virtualInterfaceType)
virtualInterfaceType
- public void setVirtualInterfaceName(String virtualInterfaceName)
virtualInterfaceName
- public String getVirtualInterfaceName()
public AllocatePrivateVirtualInterfaceResult withVirtualInterfaceName(String virtualInterfaceName)
virtualInterfaceName
- public void setVlan(Integer vlan)
vlan
- public Integer getVlan()
public AllocatePrivateVirtualInterfaceResult withVlan(Integer vlan)
vlan
- public void setAsn(Integer asn)
asn
- public Integer getAsn()
public AllocatePrivateVirtualInterfaceResult 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 AllocatePrivateVirtualInterfaceResult 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 AllocatePrivateVirtualInterfaceResult withAuthKey(String authKey)
authKey
- public void setAmazonAddress(String amazonAddress)
amazonAddress
- public String getAmazonAddress()
public AllocatePrivateVirtualInterfaceResult withAmazonAddress(String amazonAddress)
amazonAddress
- public void setCustomerAddress(String customerAddress)
customerAddress
- public String getCustomerAddress()
public AllocatePrivateVirtualInterfaceResult withCustomerAddress(String customerAddress)
customerAddress
- public void setAddressFamily(String addressFamily)
addressFamily
- AddressFamily
public String getAddressFamily()
AddressFamily
public AllocatePrivateVirtualInterfaceResult withAddressFamily(String addressFamily)
addressFamily
- AddressFamily
public void setAddressFamily(AddressFamily addressFamily)
addressFamily
- AddressFamily
public AllocatePrivateVirtualInterfaceResult withAddressFamily(AddressFamily addressFamily)
addressFamily
- AddressFamily
public void setVirtualInterfaceState(String virtualInterfaceState)
virtualInterfaceState
- VirtualInterfaceState
public String getVirtualInterfaceState()
VirtualInterfaceState
public AllocatePrivateVirtualInterfaceResult withVirtualInterfaceState(String virtualInterfaceState)
virtualInterfaceState
- VirtualInterfaceState
public void setVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
virtualInterfaceState
- VirtualInterfaceState
public AllocatePrivateVirtualInterfaceResult 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 AllocatePrivateVirtualInterfaceResult 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 AllocatePrivateVirtualInterfaceResult withVirtualGatewayId(String virtualGatewayId)
virtualGatewayId
- public void setDirectConnectGatewayId(String directConnectGatewayId)
directConnectGatewayId
- public String getDirectConnectGatewayId()
public AllocatePrivateVirtualInterfaceResult withDirectConnectGatewayId(String directConnectGatewayId)
directConnectGatewayId
- public List<RouteFilterPrefix> getRouteFilterPrefixes()
public void setRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
routeFilterPrefixes
- public AllocatePrivateVirtualInterfaceResult 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 AllocatePrivateVirtualInterfaceResult withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
routeFilterPrefixes
- public void setBgpPeers(Collection<BGPPeer> bgpPeers)
bgpPeers
- public AllocatePrivateVirtualInterfaceResult 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 AllocatePrivateVirtualInterfaceResult withBgpPeers(Collection<BGPPeer> bgpPeers)
bgpPeers
- public String toString()
toString
in class Object
Object.toString()
public AllocatePrivateVirtualInterfaceResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.