Class NewPublicVirtualInterfaceAllocation
- java.lang.Object
-
- com.amazonaws.services.directconnect.model.NewPublicVirtualInterfaceAllocation
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class NewPublicVirtualInterfaceAllocation extends Object implements Serializable, Cloneable
A structure containing information about a public virtual interface that will be provisioned on a connection.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NewPublicVirtualInterfaceAllocation()
-
Method Summary
-
-
-
Method Detail
-
setVirtualInterfaceName
public void setVirtualInterfaceName(String virtualInterfaceName)
- Parameters:
virtualInterfaceName
-
-
getVirtualInterfaceName
public String getVirtualInterfaceName()
- Returns:
-
withVirtualInterfaceName
public NewPublicVirtualInterfaceAllocation 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 NewPublicVirtualInterfaceAllocation 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 NewPublicVirtualInterfaceAllocation 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 NewPublicVirtualInterfaceAllocation 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 NewPublicVirtualInterfaceAllocation 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 NewPublicVirtualInterfaceAllocation withCustomerAddress(String customerAddress)
- Parameters:
customerAddress
-- 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 NewPublicVirtualInterfaceAllocation 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 NewPublicVirtualInterfaceAllocation 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 NewPublicVirtualInterfaceAllocation clone()
-
-