com.amazonaws.services.directconnect.model
Class ConfirmPrivateVirtualInterfaceRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.directconnect.model.ConfirmPrivateVirtualInterfaceRequest
All Implemented Interfaces:
Serializable

public class ConfirmPrivateVirtualInterfaceRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the ConfirmPrivateVirtualInterface operation.

Accept ownership of a private virtual interface created by another customer.

After the virtual interface owner calls this function, the virtual interface will be created and attached to the given virtual private gateway, and will be available for handling traffic.

See Also:
AmazonDirectConnect.confirmPrivateVirtualInterface(ConfirmPrivateVirtualInterfaceRequest), Serialized Form

Constructor Summary
ConfirmPrivateVirtualInterfaceRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getVirtualGatewayId()
          ID of the virtual private gateway that will be attached to the virtual interface.
 String getVirtualInterfaceId()
          ID of the virtual interface.
 int hashCode()
           
 void setVirtualGatewayId(String virtualGatewayId)
          ID of the virtual private gateway that will be attached to the virtual interface.
 void setVirtualInterfaceId(String virtualInterfaceId)
          ID of the virtual interface.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ConfirmPrivateVirtualInterfaceRequest withVirtualGatewayId(String virtualGatewayId)
          ID of the virtual private gateway that will be attached to the virtual interface.
 ConfirmPrivateVirtualInterfaceRequest withVirtualInterfaceId(String virtualInterfaceId)
          ID of the virtual interface.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfirmPrivateVirtualInterfaceRequest

public ConfirmPrivateVirtualInterfaceRequest()
Method Detail

getVirtualInterfaceId

public String getVirtualInterfaceId()
ID of the virtual interface.

Example: dxvif-123dfg56

Default: None

Returns:
ID of the virtual interface.

Example: dxvif-123dfg56

Default: None


setVirtualInterfaceId

public void setVirtualInterfaceId(String virtualInterfaceId)
ID of the virtual interface.

Example: dxvif-123dfg56

Default: None

Parameters:
virtualInterfaceId - ID of the virtual interface.

Example: dxvif-123dfg56

Default: None


withVirtualInterfaceId

public ConfirmPrivateVirtualInterfaceRequest withVirtualInterfaceId(String virtualInterfaceId)
ID of the virtual interface.

Example: dxvif-123dfg56

Default: None

Returns a reference to this object so that method calls can be chained together.

Parameters:
virtualInterfaceId - ID of the virtual interface.

Example: dxvif-123dfg56

Default: None

Returns:
A reference to this updated object so that method calls can be chained together.

getVirtualGatewayId

public String getVirtualGatewayId()
ID of the virtual private gateway that will be attached to the virtual interface.

A virtual private gateway can be managed via the Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action.

Default: None

Returns:
ID of the virtual private gateway that will be attached to the virtual interface.

A virtual private gateway can be managed via the Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action.

Default: None


setVirtualGatewayId

public void setVirtualGatewayId(String virtualGatewayId)
ID of the virtual private gateway that will be attached to the virtual interface.

A virtual private gateway can be managed via the Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action.

Default: None

Parameters:
virtualGatewayId - ID of the virtual private gateway that will be attached to the virtual interface.

A virtual private gateway can be managed via the Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action.

Default: None


withVirtualGatewayId

public ConfirmPrivateVirtualInterfaceRequest withVirtualGatewayId(String virtualGatewayId)
ID of the virtual private gateway that will be attached to the virtual interface.

A virtual private gateway can be managed via the Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action.

Default: None

Returns a reference to this object so that method calls can be chained together.

Parameters:
virtualGatewayId - ID of the virtual private gateway that will be attached to the virtual interface.

A virtual private gateway can be managed via the Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action.

Default: None

Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.