Class CreatePublicVirtualInterfaceResult
java.lang.Object
com.amazonaws.services.directconnect.model.CreatePublicVirtualInterfaceResult
- All Implemented Interfaces:
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()
boolean
getAsn()
Information for generating the customer router configuration.The AWS account that will own the new virtual interface.getVlan()
int
hashCode()
void
setAmazonAddress
(String amazonAddress) void
void
setAuthKey
(String authKey) void
setConnectionId
(String connectionId) void
setCustomerAddress
(String customerAddress) void
setCustomerRouterConfig
(String customerRouterConfig) Information for generating the customer router configuration.void
setLocation
(String location) void
setOwnerAccount
(String ownerAccount) The AWS account that will own the new virtual interface.void
setRouteFilterPrefixes
(Collection<RouteFilterPrefix> routeFilterPrefixes) void
setVirtualGatewayId
(String virtualGatewayId) void
setVirtualInterfaceId
(String virtualInterfaceId) void
setVirtualInterfaceName
(String virtualInterfaceName) void
setVirtualInterfaceState
(VirtualInterfaceState virtualInterfaceState) void
setVirtualInterfaceState
(String virtualInterfaceState) void
setVirtualInterfaceType
(String virtualInterfaceType) void
toString()
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
-
CreatePublicVirtualInterfaceResult
public CreatePublicVirtualInterfaceResult()
-
-
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
- 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 CreatePublicVirtualInterfaceResult 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 CreatePublicVirtualInterfaceResult 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 CreatePublicVirtualInterfaceResult withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes) - Parameters:
routeFilterPrefixes
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-