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