public class NewPrivateVirtualInterface extends Object implements Serializable
A structure containing information about a new private virtual interface.
Constructor and Description |
---|
NewPrivateVirtualInterface() |
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()
Returns the value of the CustomerAddress property for this object.
|
String |
getVirtualGatewayId()
Virtual private gateway to a VPC.
|
String |
getVirtualInterfaceName()
The name of the virtual interface assigned by the customer
|
Integer |
getVlan()
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)
Sets the value of the CustomerAddress property for this object.
|
void |
setVirtualGatewayId(String virtualGatewayId)
Virtual private gateway to a VPC.
|
void |
setVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer
|
void |
setVlan(Integer vlan)
VLAN ID
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NewPrivateVirtualInterface |
withAmazonAddress(String amazonAddress)
IP address assigned to the Amazon interface.
|
NewPrivateVirtualInterface |
withAsn(Integer asn)
Autonomous system (AS) number for Border Gateway Protocol (BGP)
configuration
|
NewPrivateVirtualInterface |
withAuthKey(String authKey)
Authentication key for BGP configuration
|
NewPrivateVirtualInterface |
withCustomerAddress(String customerAddress)
Sets the value of the CustomerAddress property for this object.
|
NewPrivateVirtualInterface |
withVirtualGatewayId(String virtualGatewayId)
Virtual private gateway to a VPC.
|
NewPrivateVirtualInterface |
withVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer
|
NewPrivateVirtualInterface |
withVlan(Integer vlan)
VLAN ID
|
public String getVirtualInterfaceName()
Example: "Dev VPC"
Example: "Dev VPC"
public void setVirtualInterfaceName(String virtualInterfaceName)
Example: "Dev VPC"
virtualInterfaceName
- The name of the virtual interface assigned by the customer Example: "Dev VPC"
public NewPrivateVirtualInterface withVirtualInterfaceName(String virtualInterfaceName)
Example: "Dev 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: "Dev VPC"
public Integer getVlan()
Example: 101
Example: 101
public void setVlan(Integer vlan)
Example: 101
vlan
- VLAN ID Example: 101
public NewPrivateVirtualInterface withVlan(Integer vlan)
Example: 101
Returns a reference to this object so that method calls can be chained together.
vlan
- 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 NewPrivateVirtualInterface 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 NewPrivateVirtualInterface 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
Example: 192.168.1.1
public void setAmazonAddress(String amazonAddress)
Example: 192.168.1.1
amazonAddress
- IP address assigned to the Amazon interface. Example: 192.168.1.1
public NewPrivateVirtualInterface withAmazonAddress(String amazonAddress)
Example: 192.168.1.1
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
public String getCustomerAddress()
public void setCustomerAddress(String customerAddress)
customerAddress
- The new value for the CustomerAddress property for this object.public NewPrivateVirtualInterface withCustomerAddress(String customerAddress)
Returns a reference to this object so that method calls can be chained together.
customerAddress
- The new value for the CustomerAddress property for this object.public String getVirtualGatewayId()
Example: vgw-123er56
Example: vgw-123er56
public void setVirtualGatewayId(String virtualGatewayId)
Example: vgw-123er56
virtualGatewayId
- Virtual private gateway to a VPC. Example: vgw-123er56
public NewPrivateVirtualInterface withVirtualGatewayId(String virtualGatewayId)
Example: vgw-123er56
Returns a reference to this object so that method calls can be chained together.
virtualGatewayId
- Virtual private gateway to a VPC. Example: vgw-123er56
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.