@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NewPrivateVirtualInterface extends Object implements Serializable, Cloneable, StructuredPojo
Information about a private virtual interface.
Constructor and Description |
---|
NewPrivateVirtualInterface() |
Modifier and Type | Method and Description |
---|---|
NewPrivateVirtualInterface |
clone() |
boolean |
equals(Object obj) |
String |
getAddressFamily()
The address family for the BGP peer.
|
String |
getAmazonAddress()
The IP address assigned to the Amazon interface.
|
Integer |
getAsn()
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
|
String |
getAuthKey()
The authentication key for BGP configuration.
|
String |
getCustomerAddress()
The IP address assigned to the customer interface.
|
String |
getDirectConnectGatewayId()
The ID of the Direct Connect gateway.
|
Integer |
getMtu()
The maximum transmission unit (MTU), in bytes.
|
String |
getVirtualGatewayId()
The ID of the virtual private gateway.
|
String |
getVirtualInterfaceName()
The name of the virtual interface assigned by the customer network.
|
Integer |
getVlan()
The ID of the VLAN.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAddressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
|
void |
setAddressFamily(String addressFamily)
The address family for the BGP peer.
|
void |
setAmazonAddress(String amazonAddress)
The IP address assigned to the Amazon interface.
|
void |
setAsn(Integer asn)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
|
void |
setAuthKey(String authKey)
The authentication key for BGP configuration.
|
void |
setCustomerAddress(String customerAddress)
The IP address assigned to the customer interface.
|
void |
setDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
|
void |
setMtu(Integer mtu)
The maximum transmission unit (MTU), in bytes.
|
void |
setVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
|
void |
setVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer network.
|
void |
setVlan(Integer vlan)
The ID of the VLAN.
|
String |
toString()
Returns a string representation of this object.
|
NewPrivateVirtualInterface |
withAddressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
|
NewPrivateVirtualInterface |
withAddressFamily(String addressFamily)
The address family for the BGP peer.
|
NewPrivateVirtualInterface |
withAmazonAddress(String amazonAddress)
The IP address assigned to the Amazon interface.
|
NewPrivateVirtualInterface |
withAsn(Integer asn)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
|
NewPrivateVirtualInterface |
withAuthKey(String authKey)
The authentication key for BGP configuration.
|
NewPrivateVirtualInterface |
withCustomerAddress(String customerAddress)
The IP address assigned to the customer interface.
|
NewPrivateVirtualInterface |
withDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
|
NewPrivateVirtualInterface |
withMtu(Integer mtu)
The maximum transmission unit (MTU), in bytes.
|
NewPrivateVirtualInterface |
withVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
|
NewPrivateVirtualInterface |
withVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer network.
|
NewPrivateVirtualInterface |
withVlan(Integer vlan)
The ID of the VLAN.
|
public void setVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer network.
virtualInterfaceName
- The name of the virtual interface assigned by the customer network.public String getVirtualInterfaceName()
The name of the virtual interface assigned by the customer network.
public NewPrivateVirtualInterface withVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer network.
virtualInterfaceName
- The name of the virtual interface assigned by the customer network.public void setVlan(Integer vlan)
The ID of the VLAN.
vlan
- The ID of the VLAN.public Integer getVlan()
The ID of the VLAN.
public NewPrivateVirtualInterface withVlan(Integer vlan)
The ID of the VLAN.
vlan
- The ID of the VLAN.public void setAsn(Integer asn)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
asn
- The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.public Integer getAsn()
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
public NewPrivateVirtualInterface withAsn(Integer asn)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
asn
- The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.public void setMtu(Integer mtu)
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
mtu
- The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value
is 1500.public Integer getMtu()
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
public NewPrivateVirtualInterface withMtu(Integer mtu)
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
mtu
- The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value
is 1500.public void setAuthKey(String authKey)
The authentication key for BGP configuration.
authKey
- The authentication key for BGP configuration.public String getAuthKey()
The authentication key for BGP configuration.
public NewPrivateVirtualInterface withAuthKey(String authKey)
The authentication key for BGP configuration.
authKey
- The authentication key for BGP configuration.public void setAmazonAddress(String amazonAddress)
The IP address assigned to the Amazon interface.
amazonAddress
- The IP address assigned to the Amazon interface.public String getAmazonAddress()
The IP address assigned to the Amazon interface.
public NewPrivateVirtualInterface withAmazonAddress(String amazonAddress)
The IP address assigned to the Amazon interface.
amazonAddress
- The IP address assigned to the Amazon interface.public void setCustomerAddress(String customerAddress)
The IP address assigned to the customer interface.
customerAddress
- The IP address assigned to the customer interface.public String getCustomerAddress()
The IP address assigned to the customer interface.
public NewPrivateVirtualInterface withCustomerAddress(String customerAddress)
The IP address assigned to the customer interface.
customerAddress
- The IP address assigned to the customer interface.public void setAddressFamily(String addressFamily)
The address family for the BGP peer.
addressFamily
- The address family for the BGP peer.AddressFamily
public String getAddressFamily()
The address family for the BGP peer.
AddressFamily
public NewPrivateVirtualInterface withAddressFamily(String addressFamily)
The address family for the BGP peer.
addressFamily
- The address family for the BGP peer.AddressFamily
public void setAddressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
addressFamily
- The address family for the BGP peer.AddressFamily
public NewPrivateVirtualInterface withAddressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
addressFamily
- The address family for the BGP peer.AddressFamily
public void setVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
virtualGatewayId
- The ID of the virtual private gateway.public String getVirtualGatewayId()
The ID of the virtual private gateway.
public NewPrivateVirtualInterface withVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
virtualGatewayId
- The ID of the virtual private gateway.public void setDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
directConnectGatewayId
- The ID of the Direct Connect gateway.public String getDirectConnectGatewayId()
The ID of the Direct Connect gateway.
public NewPrivateVirtualInterface withDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
directConnectGatewayId
- The ID of the Direct Connect gateway.public String toString()
toString
in class Object
Object.toString()
public NewPrivateVirtualInterface clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.