Class AllocatePrivateVirtualInterfaceResult
java.lang.Object
com.amazonaws.services.directconnect.model.AllocatePrivateVirtualInterfaceResult
- All Implemented Interfaces:
Serializable, Cloneable
public class AllocatePrivateVirtualInterfaceResult
extends Object
implements Serializable, Cloneable
A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetAsn()Information for generating the customer router configuration.The AWS account that will own the new virtual interface.getVlan()inthashCode()voidsetAmazonAddress(String amazonAddress) voidvoidsetAuthKey(String authKey) voidsetConnectionId(String connectionId) voidsetCustomerAddress(String customerAddress) voidsetCustomerRouterConfig(String customerRouterConfig) Information for generating the customer router configuration.voidsetLocation(String location) voidsetOwnerAccount(String ownerAccount) The AWS account that will own the new virtual interface.voidsetRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes) voidsetVirtualGatewayId(String virtualGatewayId) voidsetVirtualInterfaceId(String virtualInterfaceId) voidsetVirtualInterfaceName(String virtualInterfaceName) voidsetVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState) voidsetVirtualInterfaceState(String virtualInterfaceState) voidsetVirtualInterfaceType(String virtualInterfaceType) voidtoString()Returns a string representation of this object; useful for testing and debugging.withAmazonAddress(String amazonAddress) withAuthKey(String authKey) withConnectionId(String connectionId) withCustomerAddress(String customerAddress) withCustomerRouterConfig(String customerRouterConfig) Information for generating the customer router configuration.withLocation(String location) withOwnerAccount(String ownerAccount) The AWS account that will own the new virtual interface.withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes) NOTE: This method appends the values to the existing list (if any).withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes) withVirtualGatewayId(String virtualGatewayId) withVirtualInterfaceId(String virtualInterfaceId) withVirtualInterfaceName(String virtualInterfaceName) withVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState) withVirtualInterfaceState(String virtualInterfaceState) withVirtualInterfaceType(String virtualInterfaceType)
-
Constructor Details
-
AllocatePrivateVirtualInterfaceResult
public AllocatePrivateVirtualInterfaceResult()
-
-
Method Details
-
setOwnerAccount
The AWS account that will own the new virtual interface.
- Parameters:
ownerAccount- The AWS account that will own the new virtual interface.
-
getOwnerAccount
The AWS account that will own the new virtual interface.
- Returns:
- The AWS account that will own the new virtual interface.
-
withOwnerAccount
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
- Parameters:
virtualInterfaceId-
-
getVirtualInterfaceId
- Returns:
-
withVirtualInterfaceId
- Parameters:
virtualInterfaceId-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLocation
- Parameters:
location-
-
getLocation
- Returns:
-
withLocation
- Parameters:
location-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConnectionId
- Parameters:
connectionId-
-
getConnectionId
- Returns:
-
withConnectionId
- Parameters:
connectionId-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVirtualInterfaceType
- Parameters:
virtualInterfaceType-
-
getVirtualInterfaceType
- Returns:
-
withVirtualInterfaceType
- Parameters:
virtualInterfaceType-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVirtualInterfaceName
- Parameters:
virtualInterfaceName-
-
getVirtualInterfaceName
- Returns:
-
withVirtualInterfaceName
- Parameters:
virtualInterfaceName-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVlan
- Parameters:
vlan-
-
getVlan
- Returns:
-
withVlan
- Parameters:
vlan-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAsn
- Parameters:
asn-
-
getAsn
- Returns:
-
withAsn
- Parameters:
asn-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAuthKey
- Parameters:
authKey-
-
getAuthKey
- Returns:
-
withAuthKey
- Parameters:
authKey-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAmazonAddress
- Parameters:
amazonAddress-
-
getAmazonAddress
- Returns:
-
withAmazonAddress
- Parameters:
amazonAddress-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCustomerAddress
- Parameters:
customerAddress-
-
getCustomerAddress
- Returns:
-
withCustomerAddress
- Parameters:
customerAddress-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVirtualInterfaceState
- Parameters:
virtualInterfaceState-- See Also:
-
getVirtualInterfaceState
- Returns:
- See Also:
-
withVirtualInterfaceState
public AllocatePrivateVirtualInterfaceResult withVirtualInterfaceState(String virtualInterfaceState) - Parameters:
virtualInterfaceState-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setVirtualInterfaceState
- Parameters:
virtualInterfaceState-- See Also:
-
withVirtualInterfaceState
public AllocatePrivateVirtualInterfaceResult withVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState) - Parameters:
virtualInterfaceState-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setCustomerRouterConfig
Information for generating the customer router configuration.
- Parameters:
customerRouterConfig- Information for generating the customer router configuration.
-
getCustomerRouterConfig
Information for generating the customer router configuration.
- Returns:
- Information for generating the customer router configuration.
-
withCustomerRouterConfig
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
- Parameters:
virtualGatewayId-
-
getVirtualGatewayId
- Returns:
-
withVirtualGatewayId
- Parameters:
virtualGatewayId-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getRouteFilterPrefixes
- Returns:
-
setRouteFilterPrefixes
- Parameters:
routeFilterPrefixes-
-
withRouteFilterPrefixes
public AllocatePrivateVirtualInterfaceResult 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 AllocatePrivateVirtualInterfaceResult withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes) - Parameters:
routeFilterPrefixes-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-