Class NewPublicVirtualInterface
java.lang.Object
com.amazonaws.services.directconnect.model.NewPublicVirtualInterface
- All Implemented Interfaces:
Serializable
,Cloneable
A structure containing information about a new public virtual interface.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getAsn()
getVlan()
int
hashCode()
void
setAmazonAddress
(String amazonAddress) void
void
setAuthKey
(String authKey) void
setCustomerAddress
(String customerAddress) void
setRouteFilterPrefixes
(Collection<RouteFilterPrefix> routeFilterPrefixes) void
setVirtualInterfaceName
(String virtualInterfaceName) void
toString()
Returns a string representation of this object; useful for testing and debugging.withAmazonAddress
(String amazonAddress) withAuthKey
(String authKey) withCustomerAddress
(String customerAddress) withRouteFilterPrefixes
(RouteFilterPrefix... routeFilterPrefixes) NOTE: This method appends the values to the existing list (if any).withRouteFilterPrefixes
(Collection<RouteFilterPrefix> routeFilterPrefixes) withVirtualInterfaceName
(String virtualInterfaceName)
-
Constructor Details
-
NewPublicVirtualInterface
public NewPublicVirtualInterface()
-
-
Method Details
-
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.
-
getRouteFilterPrefixes
- Returns:
-
setRouteFilterPrefixes
- Parameters:
routeFilterPrefixes
-
-
withRouteFilterPrefixes
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 NewPublicVirtualInterface 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
-