@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AllocatePrivateVirtualInterfaceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Information about a virtual interface.
Constructor and Description |
---|
AllocatePrivateVirtualInterfaceResult() |
Modifier and Type | Method and Description |
---|---|
AllocatePrivateVirtualInterfaceResult |
clone() |
boolean |
equals(Object obj) |
String |
getAddressFamily()
The address family for the BGP peer.
|
String |
getAmazonAddress()
The IP address assigned to the Amazon interface.
|
Long |
getAmazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
|
Integer |
getAsn()
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
|
String |
getAuthKey()
The authentication key for BGP configuration.
|
String |
getAwsDeviceV2()
The Direct Connect endpoint on which the virtual interface terminates.
|
List<BGPPeer> |
getBgpPeers()
The BGP peers configured on this virtual interface.
|
String |
getConnectionId()
The ID of the connection.
|
String |
getCustomerAddress()
The IP address assigned to the customer interface.
|
String |
getCustomerRouterConfig()
The customer router configuration.
|
String |
getDirectConnectGatewayId()
The ID of the Direct Connect gateway.
|
Boolean |
getJumboFrameCapable()
Indicates whether jumbo frames (9001 MTU) are supported.
|
String |
getLocation()
The location of the connection.
|
Integer |
getMtu()
The maximum transmission unit (MTU), in bytes.
|
String |
getOwnerAccount()
The ID of the AWS account that owns the virtual interface.
|
String |
getRegion()
The AWS Region where the virtual interface is located.
|
List<RouteFilterPrefix> |
getRouteFilterPrefixes()
The routes to be advertised to the AWS network in this Region.
|
String |
getVirtualGatewayId()
The ID of the virtual private gateway.
|
String |
getVirtualInterfaceId()
The ID of the virtual interface.
|
String |
getVirtualInterfaceName()
The name of the virtual interface assigned by the customer network.
|
String |
getVirtualInterfaceState()
The state of the virtual interface.
|
String |
getVirtualInterfaceType()
The type of virtual interface.
|
Integer |
getVlan()
The ID of the VLAN.
|
int |
hashCode() |
Boolean |
isJumboFrameCapable()
Indicates whether jumbo frames (9001 MTU) are supported.
|
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 |
setAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
|
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 |
setAwsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint on which the virtual interface terminates.
|
void |
setBgpPeers(Collection<BGPPeer> bgpPeers)
The BGP peers configured on this virtual interface.
|
void |
setConnectionId(String connectionId)
The ID of the connection.
|
void |
setCustomerAddress(String customerAddress)
The IP address assigned to the customer interface.
|
void |
setCustomerRouterConfig(String customerRouterConfig)
The customer router configuration.
|
void |
setDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
|
void |
setJumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames (9001 MTU) are supported.
|
void |
setLocation(String location)
The location of the connection.
|
void |
setMtu(Integer mtu)
The maximum transmission unit (MTU), in bytes.
|
void |
setOwnerAccount(String ownerAccount)
The ID of the AWS account that owns the virtual interface.
|
void |
setRegion(String region)
The AWS Region where the virtual interface is located.
|
void |
setRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
The routes to be advertised to the AWS network in this Region.
|
void |
setVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
|
void |
setVirtualInterfaceId(String virtualInterfaceId)
The ID of the virtual interface.
|
void |
setVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer network.
|
void |
setVirtualInterfaceState(String virtualInterfaceState)
The state of the virtual interface.
|
void |
setVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
The state of the virtual interface.
|
void |
setVirtualInterfaceType(String virtualInterfaceType)
The type of virtual interface.
|
void |
setVlan(Integer vlan)
The ID of the VLAN.
|
String |
toString()
Returns a string representation of this object.
|
AllocatePrivateVirtualInterfaceResult |
withAddressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
|
AllocatePrivateVirtualInterfaceResult |
withAddressFamily(String addressFamily)
The address family for the BGP peer.
|
AllocatePrivateVirtualInterfaceResult |
withAmazonAddress(String amazonAddress)
The IP address assigned to the Amazon interface.
|
AllocatePrivateVirtualInterfaceResult |
withAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
|
AllocatePrivateVirtualInterfaceResult |
withAsn(Integer asn)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
|
AllocatePrivateVirtualInterfaceResult |
withAuthKey(String authKey)
The authentication key for BGP configuration.
|
AllocatePrivateVirtualInterfaceResult |
withAwsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint on which the virtual interface terminates.
|
AllocatePrivateVirtualInterfaceResult |
withBgpPeers(BGPPeer... bgpPeers)
The BGP peers configured on this virtual interface.
|
AllocatePrivateVirtualInterfaceResult |
withBgpPeers(Collection<BGPPeer> bgpPeers)
The BGP peers configured on this virtual interface.
|
AllocatePrivateVirtualInterfaceResult |
withConnectionId(String connectionId)
The ID of the connection.
|
AllocatePrivateVirtualInterfaceResult |
withCustomerAddress(String customerAddress)
The IP address assigned to the customer interface.
|
AllocatePrivateVirtualInterfaceResult |
withCustomerRouterConfig(String customerRouterConfig)
The customer router configuration.
|
AllocatePrivateVirtualInterfaceResult |
withDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
|
AllocatePrivateVirtualInterfaceResult |
withJumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames (9001 MTU) are supported.
|
AllocatePrivateVirtualInterfaceResult |
withLocation(String location)
The location of the connection.
|
AllocatePrivateVirtualInterfaceResult |
withMtu(Integer mtu)
The maximum transmission unit (MTU), in bytes.
|
AllocatePrivateVirtualInterfaceResult |
withOwnerAccount(String ownerAccount)
The ID of the AWS account that owns the virtual interface.
|
AllocatePrivateVirtualInterfaceResult |
withRegion(String region)
The AWS Region where the virtual interface is located.
|
AllocatePrivateVirtualInterfaceResult |
withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
The routes to be advertised to the AWS network in this Region.
|
AllocatePrivateVirtualInterfaceResult |
withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
The routes to be advertised to the AWS network in this Region.
|
AllocatePrivateVirtualInterfaceResult |
withVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
|
AllocatePrivateVirtualInterfaceResult |
withVirtualInterfaceId(String virtualInterfaceId)
The ID of the virtual interface.
|
AllocatePrivateVirtualInterfaceResult |
withVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer network.
|
AllocatePrivateVirtualInterfaceResult |
withVirtualInterfaceState(String virtualInterfaceState)
The state of the virtual interface.
|
AllocatePrivateVirtualInterfaceResult |
withVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
The state of the virtual interface.
|
AllocatePrivateVirtualInterfaceResult |
withVirtualInterfaceType(String virtualInterfaceType)
The type of virtual interface.
|
AllocatePrivateVirtualInterfaceResult |
withVlan(Integer vlan)
The ID of the VLAN.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public AllocatePrivateVirtualInterfaceResult()
public void setOwnerAccount(String ownerAccount)
The ID of the AWS account that owns the virtual interface.
ownerAccount
- The ID of the AWS account that owns the virtual interface.public String getOwnerAccount()
The ID of the AWS account that owns the virtual interface.
public AllocatePrivateVirtualInterfaceResult withOwnerAccount(String ownerAccount)
The ID of the AWS account that owns the virtual interface.
ownerAccount
- The ID of the AWS account that owns the virtual interface.public void setVirtualInterfaceId(String virtualInterfaceId)
The ID of the virtual interface.
virtualInterfaceId
- The ID of the virtual interface.public String getVirtualInterfaceId()
The ID of the virtual interface.
public AllocatePrivateVirtualInterfaceResult withVirtualInterfaceId(String virtualInterfaceId)
The ID of the virtual interface.
virtualInterfaceId
- The ID of the virtual interface.public void setLocation(String location)
The location of the connection.
location
- The location of the connection.public String getLocation()
The location of the connection.
public AllocatePrivateVirtualInterfaceResult withLocation(String location)
The location of the connection.
location
- The location of the connection.public void setConnectionId(String connectionId)
The ID of the connection.
connectionId
- The ID of the connection.public String getConnectionId()
The ID of the connection.
public AllocatePrivateVirtualInterfaceResult withConnectionId(String connectionId)
The ID of the connection.
connectionId
- The ID of the connection.public void setVirtualInterfaceType(String virtualInterfaceType)
The type of virtual interface. The possible values are private
and public
.
virtualInterfaceType
- The type of virtual interface. The possible values are private
and public
.public String getVirtualInterfaceType()
The type of virtual interface. The possible values are private
and public
.
private
and public
.public AllocatePrivateVirtualInterfaceResult withVirtualInterfaceType(String virtualInterfaceType)
The type of virtual interface. The possible values are private
and public
.
virtualInterfaceType
- The type of virtual interface. The possible values are private
and public
.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 AllocatePrivateVirtualInterfaceResult 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 AllocatePrivateVirtualInterfaceResult 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 AllocatePrivateVirtualInterfaceResult 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 setAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
amazonSideAsn
- The autonomous system number (ASN) for the Amazon side of the connection.public Long getAmazonSideAsn()
The autonomous system number (ASN) for the Amazon side of the connection.
public AllocatePrivateVirtualInterfaceResult withAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
amazonSideAsn
- The autonomous system number (ASN) for the Amazon side of the connection.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 AllocatePrivateVirtualInterfaceResult 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 AllocatePrivateVirtualInterfaceResult 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 AllocatePrivateVirtualInterfaceResult 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 AllocatePrivateVirtualInterfaceResult 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 AllocatePrivateVirtualInterfaceResult withAddressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
addressFamily
- The address family for the BGP peer.AddressFamily
public void setVirtualInterfaceState(String virtualInterfaceState)
The state of the virtual interface. The following are the possible values:
confirming
: The creation of the virtual interface is pending confirmation from the virtual interface
owner. If the owner of the virtual interface is different from the owner of the connection on which it is
provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface
owner.
verifying
: This state only applies to public virtual interfaces. Each public virtual interface needs
validation before the virtual interface can be created.
pending
: A virtual interface is in this state from the time that it is created until the virtual
interface is ready to forward traffic.
available
: A virtual interface that is able to forward traffic.
down
: A virtual interface that is BGP down.
deleting
: A virtual interface is in this state immediately after calling
DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward traffic.
rejected
: The virtual interface owner has declined creation of the virtual interface. If a virtual
interface in the Confirming
state is deleted by the virtual interface owner, the virtual interface
enters the Rejected
state.
unknown
: The state of the virtual interface is not available.
virtualInterfaceState
- The state of the virtual interface. The following are the possible values:
confirming
: The creation of the virtual interface is pending confirmation from the virtual
interface owner. If the owner of the virtual interface is different from the owner of the connection on
which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the
virtual interface owner.
verifying
: This state only applies to public virtual interfaces. Each public virtual
interface needs validation before the virtual interface can be created.
pending
: A virtual interface is in this state from the time that it is created until the
virtual interface is ready to forward traffic.
available
: A virtual interface that is able to forward traffic.
down
: A virtual interface that is BGP down.
deleting
: A virtual interface is in this state immediately after calling
DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward traffic.
rejected
: The virtual interface owner has declined creation of the virtual interface. If a
virtual interface in the Confirming
state is deleted by the virtual interface owner, the
virtual interface enters the Rejected
state.
unknown
: The state of the virtual interface is not available.
VirtualInterfaceState
public String getVirtualInterfaceState()
The state of the virtual interface. The following are the possible values:
confirming
: The creation of the virtual interface is pending confirmation from the virtual interface
owner. If the owner of the virtual interface is different from the owner of the connection on which it is
provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface
owner.
verifying
: This state only applies to public virtual interfaces. Each public virtual interface needs
validation before the virtual interface can be created.
pending
: A virtual interface is in this state from the time that it is created until the virtual
interface is ready to forward traffic.
available
: A virtual interface that is able to forward traffic.
down
: A virtual interface that is BGP down.
deleting
: A virtual interface is in this state immediately after calling
DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward traffic.
rejected
: The virtual interface owner has declined creation of the virtual interface. If a virtual
interface in the Confirming
state is deleted by the virtual interface owner, the virtual interface
enters the Rejected
state.
unknown
: The state of the virtual interface is not available.
confirming
: The creation of the virtual interface is pending confirmation from the virtual
interface owner. If the owner of the virtual interface is different from the owner of the connection on
which it is provisioned, then the virtual interface will remain in this state until it is confirmed by
the virtual interface owner.
verifying
: This state only applies to public virtual interfaces. Each public virtual
interface needs validation before the virtual interface can be created.
pending
: A virtual interface is in this state from the time that it is created until the
virtual interface is ready to forward traffic.
available
: A virtual interface that is able to forward traffic.
down
: A virtual interface that is BGP down.
deleting
: A virtual interface is in this state immediately after calling
DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward traffic.
rejected
: The virtual interface owner has declined creation of the virtual interface. If a
virtual interface in the Confirming
state is deleted by the virtual interface owner, the
virtual interface enters the Rejected
state.
unknown
: The state of the virtual interface is not available.
VirtualInterfaceState
public AllocatePrivateVirtualInterfaceResult withVirtualInterfaceState(String virtualInterfaceState)
The state of the virtual interface. The following are the possible values:
confirming
: The creation of the virtual interface is pending confirmation from the virtual interface
owner. If the owner of the virtual interface is different from the owner of the connection on which it is
provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface
owner.
verifying
: This state only applies to public virtual interfaces. Each public virtual interface needs
validation before the virtual interface can be created.
pending
: A virtual interface is in this state from the time that it is created until the virtual
interface is ready to forward traffic.
available
: A virtual interface that is able to forward traffic.
down
: A virtual interface that is BGP down.
deleting
: A virtual interface is in this state immediately after calling
DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward traffic.
rejected
: The virtual interface owner has declined creation of the virtual interface. If a virtual
interface in the Confirming
state is deleted by the virtual interface owner, the virtual interface
enters the Rejected
state.
unknown
: The state of the virtual interface is not available.
virtualInterfaceState
- The state of the virtual interface. The following are the possible values:
confirming
: The creation of the virtual interface is pending confirmation from the virtual
interface owner. If the owner of the virtual interface is different from the owner of the connection on
which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the
virtual interface owner.
verifying
: This state only applies to public virtual interfaces. Each public virtual
interface needs validation before the virtual interface can be created.
pending
: A virtual interface is in this state from the time that it is created until the
virtual interface is ready to forward traffic.
available
: A virtual interface that is able to forward traffic.
down
: A virtual interface that is BGP down.
deleting
: A virtual interface is in this state immediately after calling
DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward traffic.
rejected
: The virtual interface owner has declined creation of the virtual interface. If a
virtual interface in the Confirming
state is deleted by the virtual interface owner, the
virtual interface enters the Rejected
state.
unknown
: The state of the virtual interface is not available.
VirtualInterfaceState
public void setVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
The state of the virtual interface. The following are the possible values:
confirming
: The creation of the virtual interface is pending confirmation from the virtual interface
owner. If the owner of the virtual interface is different from the owner of the connection on which it is
provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface
owner.
verifying
: This state only applies to public virtual interfaces. Each public virtual interface needs
validation before the virtual interface can be created.
pending
: A virtual interface is in this state from the time that it is created until the virtual
interface is ready to forward traffic.
available
: A virtual interface that is able to forward traffic.
down
: A virtual interface that is BGP down.
deleting
: A virtual interface is in this state immediately after calling
DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward traffic.
rejected
: The virtual interface owner has declined creation of the virtual interface. If a virtual
interface in the Confirming
state is deleted by the virtual interface owner, the virtual interface
enters the Rejected
state.
unknown
: The state of the virtual interface is not available.
virtualInterfaceState
- The state of the virtual interface. The following are the possible values:
confirming
: The creation of the virtual interface is pending confirmation from the virtual
interface owner. If the owner of the virtual interface is different from the owner of the connection on
which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the
virtual interface owner.
verifying
: This state only applies to public virtual interfaces. Each public virtual
interface needs validation before the virtual interface can be created.
pending
: A virtual interface is in this state from the time that it is created until the
virtual interface is ready to forward traffic.
available
: A virtual interface that is able to forward traffic.
down
: A virtual interface that is BGP down.
deleting
: A virtual interface is in this state immediately after calling
DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward traffic.
rejected
: The virtual interface owner has declined creation of the virtual interface. If a
virtual interface in the Confirming
state is deleted by the virtual interface owner, the
virtual interface enters the Rejected
state.
unknown
: The state of the virtual interface is not available.
VirtualInterfaceState
public AllocatePrivateVirtualInterfaceResult withVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
The state of the virtual interface. The following are the possible values:
confirming
: The creation of the virtual interface is pending confirmation from the virtual interface
owner. If the owner of the virtual interface is different from the owner of the connection on which it is
provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface
owner.
verifying
: This state only applies to public virtual interfaces. Each public virtual interface needs
validation before the virtual interface can be created.
pending
: A virtual interface is in this state from the time that it is created until the virtual
interface is ready to forward traffic.
available
: A virtual interface that is able to forward traffic.
down
: A virtual interface that is BGP down.
deleting
: A virtual interface is in this state immediately after calling
DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward traffic.
rejected
: The virtual interface owner has declined creation of the virtual interface. If a virtual
interface in the Confirming
state is deleted by the virtual interface owner, the virtual interface
enters the Rejected
state.
unknown
: The state of the virtual interface is not available.
virtualInterfaceState
- The state of the virtual interface. The following are the possible values:
confirming
: The creation of the virtual interface is pending confirmation from the virtual
interface owner. If the owner of the virtual interface is different from the owner of the connection on
which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the
virtual interface owner.
verifying
: This state only applies to public virtual interfaces. Each public virtual
interface needs validation before the virtual interface can be created.
pending
: A virtual interface is in this state from the time that it is created until the
virtual interface is ready to forward traffic.
available
: A virtual interface that is able to forward traffic.
down
: A virtual interface that is BGP down.
deleting
: A virtual interface is in this state immediately after calling
DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward traffic.
rejected
: The virtual interface owner has declined creation of the virtual interface. If a
virtual interface in the Confirming
state is deleted by the virtual interface owner, the
virtual interface enters the Rejected
state.
unknown
: The state of the virtual interface is not available.
VirtualInterfaceState
public void setCustomerRouterConfig(String customerRouterConfig)
The customer router configuration.
customerRouterConfig
- The customer router configuration.public String getCustomerRouterConfig()
The customer router configuration.
public AllocatePrivateVirtualInterfaceResult withCustomerRouterConfig(String customerRouterConfig)
The customer router configuration.
customerRouterConfig
- The customer router 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 AllocatePrivateVirtualInterfaceResult 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 setJumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames (9001 MTU) are supported.
jumboFrameCapable
- Indicates whether jumbo frames (9001 MTU) are supported.public Boolean getJumboFrameCapable()
Indicates whether jumbo frames (9001 MTU) are supported.
public AllocatePrivateVirtualInterfaceResult withJumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames (9001 MTU) are supported.
jumboFrameCapable
- Indicates whether jumbo frames (9001 MTU) are supported.public Boolean isJumboFrameCapable()
Indicates whether jumbo frames (9001 MTU) are supported.
public void setVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway. Applies only to private virtual interfaces.
virtualGatewayId
- The ID of the virtual private gateway. Applies only to private virtual interfaces.public String getVirtualGatewayId()
The ID of the virtual private gateway. Applies only to private virtual interfaces.
public AllocatePrivateVirtualInterfaceResult withVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway. Applies only to private virtual interfaces.
virtualGatewayId
- The ID of the virtual private gateway. Applies only to private virtual interfaces.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 AllocatePrivateVirtualInterfaceResult withDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
directConnectGatewayId
- The ID of the Direct Connect gateway.public List<RouteFilterPrefix> getRouteFilterPrefixes()
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
public void setRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
routeFilterPrefixes
- The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.public AllocatePrivateVirtualInterfaceResult withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
NOTE: This method appends the values to the existing list (if any). Use
setRouteFilterPrefixes(java.util.Collection)
or withRouteFilterPrefixes(java.util.Collection)
if you want to override the existing values.
routeFilterPrefixes
- The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.public AllocatePrivateVirtualInterfaceResult withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
routeFilterPrefixes
- The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.public List<BGPPeer> getBgpPeers()
The BGP peers configured on this virtual interface.
public void setBgpPeers(Collection<BGPPeer> bgpPeers)
The BGP peers configured on this virtual interface.
bgpPeers
- The BGP peers configured on this virtual interface.public AllocatePrivateVirtualInterfaceResult withBgpPeers(BGPPeer... bgpPeers)
The BGP peers configured on this virtual interface.
NOTE: This method appends the values to the existing list (if any). Use
setBgpPeers(java.util.Collection)
or withBgpPeers(java.util.Collection)
if you want to override
the existing values.
bgpPeers
- The BGP peers configured on this virtual interface.public AllocatePrivateVirtualInterfaceResult withBgpPeers(Collection<BGPPeer> bgpPeers)
The BGP peers configured on this virtual interface.
bgpPeers
- The BGP peers configured on this virtual interface.public void setRegion(String region)
The AWS Region where the virtual interface is located.
region
- The AWS Region where the virtual interface is located.public String getRegion()
The AWS Region where the virtual interface is located.
public AllocatePrivateVirtualInterfaceResult withRegion(String region)
The AWS Region where the virtual interface is located.
region
- The AWS Region where the virtual interface is located.public void setAwsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint on which the virtual interface terminates.
awsDeviceV2
- The Direct Connect endpoint on which the virtual interface terminates.public String getAwsDeviceV2()
The Direct Connect endpoint on which the virtual interface terminates.
public AllocatePrivateVirtualInterfaceResult withAwsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint on which the virtual interface terminates.
awsDeviceV2
- The Direct Connect endpoint on which the virtual interface terminates.public String toString()
toString
in class Object
Object.toString()
public AllocatePrivateVirtualInterfaceResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.