@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateVirtualInterfaceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Information about a virtual interface.
| Constructor and Description | 
|---|
| AssociateVirtualInterfaceResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| AssociateVirtualInterfaceResult | 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. | 
| 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 (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 | 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. | 
| AssociateVirtualInterfaceResult | withAddressFamily(AddressFamily addressFamily)
 The address family for the BGP peer. | 
| AssociateVirtualInterfaceResult | withAddressFamily(String addressFamily)
 The address family for the BGP peer. | 
| AssociateVirtualInterfaceResult | withAmazonAddress(String amazonAddress)
 The IP address assigned to the Amazon interface. | 
| AssociateVirtualInterfaceResult | withAmazonSideAsn(Long amazonSideAsn)
 The autonomous system number (ASN) for the Amazon side of the connection. | 
| AssociateVirtualInterfaceResult | withAsn(Integer asn)
 The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. | 
| AssociateVirtualInterfaceResult | withAuthKey(String authKey)
 The authentication key for BGP configuration. | 
| AssociateVirtualInterfaceResult | withAwsDeviceV2(String awsDeviceV2)
 The Direct Connect endpoint on which the virtual interface terminates. | 
| AssociateVirtualInterfaceResult | withBgpPeers(BGPPeer... bgpPeers)
 The BGP peers configured on this virtual interface. | 
| AssociateVirtualInterfaceResult | withBgpPeers(Collection<BGPPeer> bgpPeers)
 The BGP peers configured on this virtual interface. | 
| AssociateVirtualInterfaceResult | withConnectionId(String connectionId)
 The ID of the connection. | 
| AssociateVirtualInterfaceResult | withCustomerAddress(String customerAddress)
 The IP address assigned to the customer interface. | 
| AssociateVirtualInterfaceResult | withCustomerRouterConfig(String customerRouterConfig)
 The customer router configuration. | 
| AssociateVirtualInterfaceResult | withDirectConnectGatewayId(String directConnectGatewayId)
 The ID of the Direct Connect gateway. | 
| AssociateVirtualInterfaceResult | withJumboFrameCapable(Boolean jumboFrameCapable)
 Indicates whether jumbo frames (9001 MTU) are supported. | 
| AssociateVirtualInterfaceResult | withLocation(String location)
 The location of the connection. | 
| AssociateVirtualInterfaceResult | withMtu(Integer mtu)
 The maximum transmission unit (MTU), in bytes. | 
| AssociateVirtualInterfaceResult | withOwnerAccount(String ownerAccount)
 The ID of the AWS account that owns the virtual interface. | 
| AssociateVirtualInterfaceResult | withRegion(String region)
 The AWS Region where the virtual interface is located. | 
| AssociateVirtualInterfaceResult | withRouteFilterPrefixes(Collection<RouteFilterPrefix> routeFilterPrefixes)
 The routes to be advertised to the AWS network in this Region. | 
| AssociateVirtualInterfaceResult | withRouteFilterPrefixes(RouteFilterPrefix... routeFilterPrefixes)
 The routes to be advertised to the AWS network in this Region. | 
| AssociateVirtualInterfaceResult | withTags(Collection<Tag> tags)
 The tags associated with the virtual interface. | 
| AssociateVirtualInterfaceResult | withTags(Tag... tags)
 The tags associated with the virtual interface. | 
| AssociateVirtualInterfaceResult | withVirtualGatewayId(String virtualGatewayId)
 The ID of the virtual private gateway. | 
| AssociateVirtualInterfaceResult | withVirtualInterfaceId(String virtualInterfaceId)
 The ID of the virtual interface. | 
| AssociateVirtualInterfaceResult | withVirtualInterfaceName(String virtualInterfaceName)
 The name of the virtual interface assigned by the customer network. | 
| AssociateVirtualInterfaceResult | withVirtualInterfaceState(String virtualInterfaceState)
 The state of the virtual interface. | 
| AssociateVirtualInterfaceResult | withVirtualInterfaceState(VirtualInterfaceState virtualInterfaceState)
 The state of the virtual interface. | 
| AssociateVirtualInterfaceResult | withVirtualInterfaceType(String virtualInterfaceType)
 The type of virtual interface. | 
| AssociateVirtualInterfaceResult | withVlan(Integer vlan)
 The ID of the VLAN. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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. 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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.AddressFamilypublic String getAddressFamily()
The address family for the BGP peer.
AddressFamilypublic AssociateVirtualInterfaceResult withAddressFamily(String addressFamily)
The address family for the BGP peer.
addressFamily - The address family for the BGP peer.AddressFamilypublic void setAddressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
addressFamily - The address family for the BGP peer.AddressFamilypublic AssociateVirtualInterfaceResult withAddressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
addressFamily - The address family for the BGP peer.AddressFamilypublic 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.
        
VirtualInterfaceStatepublic 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.
         
VirtualInterfaceStatepublic AssociateVirtualInterfaceResult 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.
        
VirtualInterfaceStatepublic 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.
        
VirtualInterfaceStatepublic AssociateVirtualInterfaceResult 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.
        
VirtualInterfaceStatepublic void setCustomerRouterConfig(String customerRouterConfig)
The customer router configuration.
customerRouterConfig - The customer router configuration.public String getCustomerRouterConfig()
The customer router configuration.
public AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult 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 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 AssociateVirtualInterfaceResult 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 AssociateVirtualInterfaceResult withTags(Collection<Tag> tags)
The tags associated with the virtual interface.
tags - The tags associated with the virtual interface.public String toString()
toString in class ObjectObject.toString()public AssociateVirtualInterfaceResult clone()