@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AllocatePublicVirtualInterfaceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Information about a virtual interface.
Constructor and Description |
---|
AllocatePublicVirtualInterfaceResult() |
Modifier and Type | Method and Description |
---|---|
AllocatePublicVirtualInterfaceResult |
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 that terminates the physical connection.
|
String |
getAwsLogicalDeviceId()
The Direct Connect endpoint that terminates the logical connection.
|
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 are supported.
|
String |
getLocation()
The location of the connection.
|
Integer |
getMtu()
The maximum transmission unit (MTU), in bytes.
|
String |
getOwnerAccount()
The ID of the Amazon Web Services account that owns the virtual interface.
|
String |
getRegion()
The Amazon Web Services Region where the virtual interface is located.
|
List<RouteFilterPrefix> |
getRouteFilterPrefixes()
The routes to be advertised to the Amazon Web Services network in this Region.
|
Boolean |
getSiteLinkEnabled()
Indicates whether SiteLink is enabled.
|
List<Tag> |
getTags()
The tags associated with the virtual interface.
|
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 are supported.
|
Boolean |
isSiteLinkEnabled()
Indicates whether SiteLink is enabled.
|
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 that terminates the physical connection.
|
void |
setAwsLogicalDeviceId(String awsLogicalDeviceId)
The Direct Connect endpoint that terminates the logical connection.
|
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 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 Amazon Web Services account that owns the virtual interface.
|
void |
setRegion(String region)
The Amazon Web Services Region where the virtual interface is located.
|
void |
setRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
The routes to be advertised to the Amazon Web Services network in this Region.
|
void |
setSiteLinkEnabled(Boolean siteLinkEnabled)
Indicates whether SiteLink is enabled.
|
void |
setTags(Collection<Tag> tags)
The tags associated with the virtual interface.
|
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.
|
AllocatePublicVirtualInterfaceResult |
withAddressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
|
AllocatePublicVirtualInterfaceResult |
withAddressFamily(String addressFamily)
The address family for the BGP peer.
|
AllocatePublicVirtualInterfaceResult |
withAmazonAddress(String amazonAddress)
The IP address assigned to the Amazon interface.
|
AllocatePublicVirtualInterfaceResult |
withAmazonSideAsn(Long amazonSideAsn)
The autonomous system number (ASN) for the Amazon side of the connection.
|
AllocatePublicVirtualInterfaceResult |
withAsn(Integer asn)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
|
AllocatePublicVirtualInterfaceResult |
withAuthKey(String authKey)
The authentication key for BGP configuration.
|
AllocatePublicVirtualInterfaceResult |
withAwsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint that terminates the physical connection.
|
AllocatePublicVirtualInterfaceResult |
withAwsLogicalDeviceId(String awsLogicalDeviceId)
The Direct Connect endpoint that terminates the logical connection.
|
AllocatePublicVirtualInterfaceResult |
withBgpPeers(BGPPeer... bgpPeers)
The BGP peers configured on this virtual interface.
|
AllocatePublicVirtualInterfaceResult |
withBgpPeers(Collection<BGPPeer> bgpPeers)
The BGP peers configured on this virtual interface.
|
AllocatePublicVirtualInterfaceResult |
withConnectionId(String connectionId)
The ID of the connection.
|
AllocatePublicVirtualInterfaceResult |
withCustomerAddress(String customerAddress)
The IP address assigned to the customer interface.
|
AllocatePublicVirtualInterfaceResult |
withCustomerRouterConfig(String customerRouterConfig)
The customer router configuration.
|
AllocatePublicVirtualInterfaceResult |
withDirectConnectGatewayId(String directConnectGatewayId)
The ID of the Direct Connect gateway.
|
AllocatePublicVirtualInterfaceResult |
withJumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames are supported.
|
AllocatePublicVirtualInterfaceResult |
withLocation(String location)
The location of the connection.
|
AllocatePublicVirtualInterfaceResult |
withMtu(Integer mtu)
The maximum transmission unit (MTU), in bytes.
|
AllocatePublicVirtualInterfaceResult |
withOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the virtual interface.
|
AllocatePublicVirtualInterfaceResult |
withRegion(String region)
The Amazon Web Services Region where the virtual interface is located.
|
AllocatePublicVirtualInterfaceResult |
withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
The routes to be advertised to the Amazon Web Services network in this Region.
|
AllocatePublicVirtualInterfaceResult |
withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
The routes to be advertised to the Amazon Web Services network in this Region.
|
AllocatePublicVirtualInterfaceResult |
withSiteLinkEnabled(Boolean siteLinkEnabled)
Indicates whether SiteLink is enabled.
|
AllocatePublicVirtualInterfaceResult |
withTags(Collection<Tag> tags)
The tags associated with the virtual interface.
|
AllocatePublicVirtualInterfaceResult |
withTags(Tag... tags)
The tags associated with the virtual interface.
|
AllocatePublicVirtualInterfaceResult |
withVirtualGatewayId(String virtualGatewayId)
The ID of the virtual private gateway.
|
AllocatePublicVirtualInterfaceResult |
withVirtualInterfaceId(String virtualInterfaceId)
The ID of the virtual interface.
|
AllocatePublicVirtualInterfaceResult |
withVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer network.
|
AllocatePublicVirtualInterfaceResult |
withVirtualInterfaceState(String virtualInterfaceState)
The state of the virtual interface.
|
AllocatePublicVirtualInterfaceResult |
withVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
The state of the virtual interface.
|
AllocatePublicVirtualInterfaceResult |
withVirtualInterfaceType(String virtualInterfaceType)
The type of virtual interface.
|
AllocatePublicVirtualInterfaceResult |
withVlan(Integer vlan)
The ID of the VLAN.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public AllocatePublicVirtualInterfaceResult()
public void setOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the virtual interface.
ownerAccount
- The ID of the Amazon Web Services account that owns the virtual interface.public String getOwnerAccount()
The ID of the Amazon Web Services account that owns the virtual interface.
public AllocatePublicVirtualInterfaceResult withOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the virtual interface.
ownerAccount
- The ID of the Amazon Web Services 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 AllocatePublicVirtualInterfaceResult 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 AllocatePublicVirtualInterfaceResult 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 AllocatePublicVirtualInterfaceResult 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
, public
and
transit
.
virtualInterfaceType
- The type of virtual interface. The possible values are private
, public
and
transit
.public String getVirtualInterfaceType()
The type of virtual interface. The possible values are private
, public
and
transit
.
private
, public
and
transit
.public AllocatePublicVirtualInterfaceResult withVirtualInterfaceType(String virtualInterfaceType)
The type of virtual interface. The possible values are private
, public
and
transit
.
virtualInterfaceType
- The type of virtual interface. The possible values are private
, public
and
transit
.public void setVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
virtualInterfaceName
- The name of the virtual interface assigned by the customer network. The name has a maximum of 100
characters. The following are valid characters: a-z, 0-9 and a hyphen (-).public String getVirtualInterfaceName()
The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
public AllocatePublicVirtualInterfaceResult withVirtualInterfaceName(String virtualInterfaceName)
The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
virtualInterfaceName
- The name of the virtual interface assigned by the customer network. The name has a maximum of 100
characters. The following are valid characters: a-z, 0-9 and a hyphen (-).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 AllocatePublicVirtualInterfaceResult 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.
The valid values are 1-2147483647.
asn
- The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
public Integer getAsn()
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
The valid values are 1-2147483647.
public AllocatePublicVirtualInterfaceResult withAsn(Integer asn)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
asn
- The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
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 AllocatePublicVirtualInterfaceResult 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. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
authKey
- The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a
maximun lenth of 80 characters.public String getAuthKey()
The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
public AllocatePublicVirtualInterfaceResult withAuthKey(String authKey)
The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
authKey
- The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a
maximun lenth of 80 characters.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 AllocatePublicVirtualInterfaceResult 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 AllocatePublicVirtualInterfaceResult 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 AllocatePublicVirtualInterfaceResult 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 AllocatePublicVirtualInterfaceResult 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 AllocatePublicVirtualInterfaceResult 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 AllocatePublicVirtualInterfaceResult 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 AllocatePublicVirtualInterfaceResult 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 8500. The default value is 1500
mtu
- The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value
is 1500public Integer getMtu()
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500
public AllocatePublicVirtualInterfaceResult withMtu(Integer mtu)
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500
mtu
- The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value
is 1500public void setJumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames are supported.
jumboFrameCapable
- Indicates whether jumbo frames are supported.public Boolean getJumboFrameCapable()
Indicates whether jumbo frames are supported.
public AllocatePublicVirtualInterfaceResult withJumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames are supported.
jumboFrameCapable
- Indicates whether jumbo frames are supported.public Boolean isJumboFrameCapable()
Indicates whether jumbo frames 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 AllocatePublicVirtualInterfaceResult 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 AllocatePublicVirtualInterfaceResult 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 Amazon Web Services network in this Region. Applies to public virtual interfaces.
public void setRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces.
routeFilterPrefixes
- The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual
interfaces.public AllocatePublicVirtualInterfaceResult withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
The routes to be advertised to the Amazon Web Services 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 Amazon Web Services network in this Region. Applies to public virtual
interfaces.public AllocatePublicVirtualInterfaceResult withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces.
routeFilterPrefixes
- The routes to be advertised to the Amazon Web Services 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 AllocatePublicVirtualInterfaceResult 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 AllocatePublicVirtualInterfaceResult 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 Amazon Web Services Region where the virtual interface is located.
region
- The Amazon Web Services Region where the virtual interface is located.public String getRegion()
The Amazon Web Services Region where the virtual interface is located.
public AllocatePublicVirtualInterfaceResult withRegion(String region)
The Amazon Web Services Region where the virtual interface is located.
region
- The Amazon Web Services Region where the virtual interface is located.public void setAwsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint that terminates the physical connection.
awsDeviceV2
- The Direct Connect endpoint that terminates the physical connection.public String getAwsDeviceV2()
The Direct Connect endpoint that terminates the physical connection.
public AllocatePublicVirtualInterfaceResult withAwsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint that terminates the physical connection.
awsDeviceV2
- The Direct Connect endpoint that terminates the physical connection.public void setAwsLogicalDeviceId(String awsLogicalDeviceId)
The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
awsLogicalDeviceId
- The Direct Connect endpoint that terminates the logical connection. This device might be different than
the device that terminates the physical connection.public String getAwsLogicalDeviceId()
The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
public AllocatePublicVirtualInterfaceResult withAwsLogicalDeviceId(String awsLogicalDeviceId)
The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
awsLogicalDeviceId
- The Direct Connect endpoint that terminates the logical connection. This device might be different than
the device that terminates the physical connection.public List<Tag> getTags()
The tags associated with the virtual interface.
public void setTags(Collection<Tag> tags)
The tags associated with the virtual interface.
tags
- The tags associated with the virtual interface.public AllocatePublicVirtualInterfaceResult withTags(Tag... tags)
The tags associated with the virtual interface.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags associated with the virtual interface.public AllocatePublicVirtualInterfaceResult withTags(Collection<Tag> tags)
The tags associated with the virtual interface.
tags
- The tags associated with the virtual interface.public void setSiteLinkEnabled(Boolean siteLinkEnabled)
Indicates whether SiteLink is enabled.
siteLinkEnabled
- Indicates whether SiteLink is enabled.public Boolean getSiteLinkEnabled()
Indicates whether SiteLink is enabled.
public AllocatePublicVirtualInterfaceResult withSiteLinkEnabled(Boolean siteLinkEnabled)
Indicates whether SiteLink is enabled.
siteLinkEnabled
- Indicates whether SiteLink is enabled.public Boolean isSiteLinkEnabled()
Indicates whether SiteLink is enabled.
public String toString()
toString
in class Object
Object.toString()
public AllocatePublicVirtualInterfaceResult clone()