public class NewPrivateVirtualInterfaceAllocation extends Object implements Serializable
A structure containing information about a private virtual interface that will be provisioned on a connection.
Constructor and Description |
---|
NewPrivateVirtualInterfaceAllocation() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAmazonAddress()
IP address assigned to the Amazon interface.
|
Integer |
getAsn()
Autonomous system (AS) number for Border Gateway Protocol (BGP)
configuration.
|
String |
getAuthKey()
Authentication key for BGP configuration.
|
String |
getCustomerAddress()
IP address assigned to the customer interface.
|
String |
getVirtualInterfaceName()
The name of the virtual interface assigned by the customer.
|
Integer |
getVlan()
The VLAN ID.
|
int |
hashCode() |
void |
setAmazonAddress(String amazonAddress)
IP address assigned to the Amazon interface.
|
void |
setAsn(Integer asn)
Autonomous system (AS) number for Border Gateway Protocol (BGP)
configuration.
|
void |
setAuthKey(String authKey)
Authentication key for BGP configuration.
|
void |
setCustomerAddress(String customerAddress)
IP address assigned to the customer interface.
|
void |
setVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer.
|
void |
setVlan(Integer vlan)
The VLAN ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NewPrivateVirtualInterfaceAllocation |
withAmazonAddress(String amazonAddress)
IP address assigned to the Amazon interface.
|
NewPrivateVirtualInterfaceAllocation |
withAsn(Integer asn)
Autonomous system (AS) number for Border Gateway Protocol (BGP)
configuration.
|
NewPrivateVirtualInterfaceAllocation |
withAuthKey(String authKey)
Authentication key for BGP configuration.
|
NewPrivateVirtualInterfaceAllocation |
withCustomerAddress(String customerAddress)
IP address assigned to the customer interface.
|
NewPrivateVirtualInterfaceAllocation |
withVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer.
|
NewPrivateVirtualInterfaceAllocation |
withVlan(Integer vlan)
The VLAN ID.
|
public NewPrivateVirtualInterfaceAllocation()
public String getVirtualInterfaceName()
Example: "My VPC"
Example: "My VPC"
public void setVirtualInterfaceName(String virtualInterfaceName)
Example: "My VPC"
virtualInterfaceName
- The name of the virtual interface assigned by the customer.
Example: "My VPC"
public NewPrivateVirtualInterfaceAllocation withVirtualInterfaceName(String virtualInterfaceName)
Example: "My VPC"
Returns a reference to this object so that method calls can be chained together.
virtualInterfaceName
- The name of the virtual interface assigned by the customer.
Example: "My VPC"
public Integer getVlan()
Example: 101
Example: 101
public void setVlan(Integer vlan)
Example: 101
vlan
- The VLAN ID. Example: 101
public NewPrivateVirtualInterfaceAllocation withVlan(Integer vlan)
Example: 101
Returns a reference to this object so that method calls can be chained together.
vlan
- The VLAN ID. Example: 101
public Integer getAsn()
Example: 65000
Example: 65000
public void setAsn(Integer asn)
Example: 65000
asn
- Autonomous system (AS) number for Border Gateway Protocol (BGP)
configuration. Example: 65000
public NewPrivateVirtualInterfaceAllocation withAsn(Integer asn)
Example: 65000
Returns a reference to this object so that method calls can be chained together.
asn
- Autonomous system (AS) number for Border Gateway Protocol (BGP)
configuration. Example: 65000
public String getAuthKey()
Example: asdf34example
Example: asdf34example
public void setAuthKey(String authKey)
Example: asdf34example
authKey
- Authentication key for BGP configuration. Example: asdf34example
public NewPrivateVirtualInterfaceAllocation withAuthKey(String authKey)
Example: asdf34example
Returns a reference to this object so that method calls can be chained together.
authKey
- Authentication key for BGP configuration. Example: asdf34example
public String getAmazonAddress()
Example: 192.168.1.1/30
Example: 192.168.1.1/30
public void setAmazonAddress(String amazonAddress)
Example: 192.168.1.1/30
amazonAddress
- IP address assigned to the Amazon interface. Example: 192.168.1.1/30
public NewPrivateVirtualInterfaceAllocation withAmazonAddress(String amazonAddress)
Example: 192.168.1.1/30
Returns a reference to this object so that method calls can be chained together.
amazonAddress
- IP address assigned to the Amazon interface. Example: 192.168.1.1/30
public String getCustomerAddress()
Example: 192.168.1.2/30
Example: 192.168.1.2/30
public void setCustomerAddress(String customerAddress)
Example: 192.168.1.2/30
customerAddress
- IP address assigned to the customer interface. Example: 192.168.1.2/30
public NewPrivateVirtualInterfaceAllocation withCustomerAddress(String customerAddress)
Example: 192.168.1.2/30
Returns a reference to this object so that method calls can be chained together.
customerAddress
- IP address assigned to the customer interface. Example: 192.168.1.2/30
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.