Class AllocatePublicVirtualInterfaceResult
- java.lang.Object
-
- com.amazonaws.services.directconnect.model.AllocatePublicVirtualInterfaceResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class AllocatePublicVirtualInterfaceResult extends Object implements Serializable, Cloneable
A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AllocatePublicVirtualInterfaceResult()
-
Method Summary
-
-
-
Method Detail
-
setOwnerAccount
public void setOwnerAccount(String ownerAccount)
The AWS account that will own the new virtual interface.
- Parameters:
ownerAccount
- The AWS account that will own the new virtual interface.
-
getOwnerAccount
public String getOwnerAccount()
The AWS account that will own the new virtual interface.
- Returns:
- The AWS account that will own the new virtual interface.
-
withOwnerAccount
public AllocatePublicVirtualInterfaceResult withOwnerAccount(String ownerAccount)
The AWS account that will own the new virtual interface.
- Parameters:
ownerAccount
- The AWS account that will own the new virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVirtualInterfaceId
public void setVirtualInterfaceId(String virtualInterfaceId)
- Parameters:
virtualInterfaceId
-
-
getVirtualInterfaceId
public String getVirtualInterfaceId()
- Returns:
-
withVirtualInterfaceId
public AllocatePublicVirtualInterfaceResult withVirtualInterfaceId(String virtualInterfaceId)
- Parameters:
virtualInterfaceId
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLocation
public void setLocation(String location)
- Parameters:
location
-
-
getLocation
public String getLocation()
- Returns:
-
withLocation
public AllocatePublicVirtualInterfaceResult withLocation(String location)
- Parameters:
location
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConnectionId
public void setConnectionId(String connectionId)
- Parameters:
connectionId
-
-
getConnectionId
public String getConnectionId()
- Returns:
-
withConnectionId
public AllocatePublicVirtualInterfaceResult withConnectionId(String connectionId)
- Parameters:
connectionId
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVirtualInterfaceType
public void setVirtualInterfaceType(String virtualInterfaceType)
- Parameters:
virtualInterfaceType
-
-
getVirtualInterfaceType
public String getVirtualInterfaceType()
- Returns:
-
withVirtualInterfaceType
public AllocatePublicVirtualInterfaceResult withVirtualInterfaceType(String virtualInterfaceType)
- Parameters:
virtualInterfaceType
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVirtualInterfaceName
public void setVirtualInterfaceName(String virtualInterfaceName)
- Parameters:
virtualInterfaceName
-
-
getVirtualInterfaceName
public String getVirtualInterfaceName()
- Returns:
-
withVirtualInterfaceName
public AllocatePublicVirtualInterfaceResult withVirtualInterfaceName(String virtualInterfaceName)
- Parameters:
virtualInterfaceName
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVlan
public void setVlan(Integer vlan)
- Parameters:
vlan
-
-
getVlan
public Integer getVlan()
- Returns:
-
withVlan
public AllocatePublicVirtualInterfaceResult withVlan(Integer vlan)
- Parameters:
vlan
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAsn
public void setAsn(Integer asn)
- Parameters:
asn
-
-
getAsn
public Integer getAsn()
- Returns:
-
withAsn
public AllocatePublicVirtualInterfaceResult withAsn(Integer asn)
- Parameters:
asn
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAuthKey
public void setAuthKey(String authKey)
- Parameters:
authKey
-
-
getAuthKey
public String getAuthKey()
- Returns:
-
withAuthKey
public AllocatePublicVirtualInterfaceResult withAuthKey(String authKey)
- Parameters:
authKey
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAmazonAddress
public void setAmazonAddress(String amazonAddress)
- Parameters:
amazonAddress
-
-
getAmazonAddress
public String getAmazonAddress()
- Returns:
-
withAmazonAddress
public AllocatePublicVirtualInterfaceResult withAmazonAddress(String amazonAddress)
- Parameters:
amazonAddress
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCustomerAddress
public void setCustomerAddress(String customerAddress)
- Parameters:
customerAddress
-
-
getCustomerAddress
public String getCustomerAddress()
- Returns:
-
withCustomerAddress
public AllocatePublicVirtualInterfaceResult withCustomerAddress(String customerAddress)
- Parameters:
customerAddress
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVirtualInterfaceState
public void setVirtualInterfaceState(String virtualInterfaceState)
- Parameters:
virtualInterfaceState
-- See Also:
VirtualInterfaceState
-
getVirtualInterfaceState
public String getVirtualInterfaceState()
- Returns:
- See Also:
VirtualInterfaceState
-
withVirtualInterfaceState
public AllocatePublicVirtualInterfaceResult withVirtualInterfaceState(String virtualInterfaceState)
- Parameters:
virtualInterfaceState
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VirtualInterfaceState
-
setVirtualInterfaceState
public void setVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
- Parameters:
virtualInterfaceState
-- See Also:
VirtualInterfaceState
-
withVirtualInterfaceState
public AllocatePublicVirtualInterfaceResult withVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
- Parameters:
virtualInterfaceState
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VirtualInterfaceState
-
setCustomerRouterConfig
public void setCustomerRouterConfig(String customerRouterConfig)
Information for generating the customer router configuration.
- Parameters:
customerRouterConfig
- Information for generating the customer router configuration.
-
getCustomerRouterConfig
public String getCustomerRouterConfig()
Information for generating the customer router configuration.
- Returns:
- Information for generating the customer router configuration.
-
withCustomerRouterConfig
public AllocatePublicVirtualInterfaceResult withCustomerRouterConfig(String customerRouterConfig)
Information for generating the customer router configuration.
- Parameters:
customerRouterConfig
- Information for generating the customer router configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVirtualGatewayId
public void setVirtualGatewayId(String virtualGatewayId)
- Parameters:
virtualGatewayId
-
-
getVirtualGatewayId
public String getVirtualGatewayId()
- Returns:
-
withVirtualGatewayId
public AllocatePublicVirtualInterfaceResult withVirtualGatewayId(String virtualGatewayId)
- Parameters:
virtualGatewayId
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getRouteFilterPrefixes
public List<RouteFilterPrefix> getRouteFilterPrefixes()
- Returns:
-
setRouteFilterPrefixes
public void setRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
- Parameters:
routeFilterPrefixes
-
-
withRouteFilterPrefixes
public AllocatePublicVirtualInterfaceResult withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
NOTE: This method appends the values to the existing list (if any). Use
setRouteFilterPrefixes(java.util.Collection)
orwithRouteFilterPrefixes(java.util.Collection)
if you want to override the existing values.- Parameters:
routeFilterPrefixes
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRouteFilterPrefixes
public AllocatePublicVirtualInterfaceResult withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
- Parameters:
routeFilterPrefixes
-- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AllocatePublicVirtualInterfaceResult clone()
-
-