com.amazonaws.services.directconnect.model
Class AllocatePrivateVirtualInterfaceRequest

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

public class AllocatePrivateVirtualInterfaceRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the AllocatePrivateVirtualInterface operation.

Provisions a private virtual interface to be owned by a different customer.

The owner of a connection calls this function to provision a private virtual interface which will be owned by another AWS customer.

Virtual interfaces created using this function must be confirmed by the virtual interface owner by calling ConfirmPrivateVirtualInterface. Until this step has been completed, the virtual interface will be in 'Confirming' state, and will not be available for handling traffic.

See Also:
AmazonDirectConnect.allocatePrivateVirtualInterface(AllocatePrivateVirtualInterfaceRequest), Serialized Form

Constructor Summary
AllocatePrivateVirtualInterfaceRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getConnectionId()
          The connection ID on which the private virtual interface is provisioned.
 NewPrivateVirtualInterfaceAllocation getNewPrivateVirtualInterfaceAllocation()
          Detailed information for the private virtual interface to be provisioned.
 String getOwnerAccount()
          The AWS account that will own the new private virtual interface.
 int hashCode()
           
 void setConnectionId(String connectionId)
          The connection ID on which the private virtual interface is provisioned.
 void setNewPrivateVirtualInterfaceAllocation(NewPrivateVirtualInterfaceAllocation newPrivateVirtualInterfaceAllocation)
          Detailed information for the private virtual interface to be provisioned.
 void setOwnerAccount(String ownerAccount)
          The AWS account that will own the new private virtual interface.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 AllocatePrivateVirtualInterfaceRequest withConnectionId(String connectionId)
          The connection ID on which the private virtual interface is provisioned.
 AllocatePrivateVirtualInterfaceRequest withNewPrivateVirtualInterfaceAllocation(NewPrivateVirtualInterfaceAllocation newPrivateVirtualInterfaceAllocation)
          Detailed information for the private virtual interface to be provisioned.
 AllocatePrivateVirtualInterfaceRequest withOwnerAccount(String ownerAccount)
          The AWS account that will own the new private 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

AllocatePrivateVirtualInterfaceRequest

public AllocatePrivateVirtualInterfaceRequest()
Method Detail

getConnectionId

public String getConnectionId()
The connection ID on which the private virtual interface is provisioned.

Default: None

Returns:
The connection ID on which the private virtual interface is provisioned.

Default: None


setConnectionId

public void setConnectionId(String connectionId)
The connection ID on which the private virtual interface is provisioned.

Default: None

Parameters:
connectionId - The connection ID on which the private virtual interface is provisioned.

Default: None


withConnectionId

public AllocatePrivateVirtualInterfaceRequest withConnectionId(String connectionId)
The connection ID on which the private virtual interface is provisioned.

Default: None

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

Parameters:
connectionId - The connection ID on which the private virtual interface is provisioned.

Default: None

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

getOwnerAccount

public String getOwnerAccount()
The AWS account that will own the new private virtual interface.

Default: None

Returns:
The AWS account that will own the new private virtual interface.

Default: None


setOwnerAccount

public void setOwnerAccount(String ownerAccount)
The AWS account that will own the new private virtual interface.

Default: None

Parameters:
ownerAccount - The AWS account that will own the new private virtual interface.

Default: None


withOwnerAccount

public AllocatePrivateVirtualInterfaceRequest withOwnerAccount(String ownerAccount)
The AWS account that will own the new private virtual interface.

Default: None

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

Parameters:
ownerAccount - The AWS account that will own the new private virtual interface.

Default: None

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

getNewPrivateVirtualInterfaceAllocation

public NewPrivateVirtualInterfaceAllocation getNewPrivateVirtualInterfaceAllocation()
Detailed information for the private virtual interface to be provisioned.

Default: None

Returns:
Detailed information for the private virtual interface to be provisioned.

Default: None


setNewPrivateVirtualInterfaceAllocation

public void setNewPrivateVirtualInterfaceAllocation(NewPrivateVirtualInterfaceAllocation newPrivateVirtualInterfaceAllocation)
Detailed information for the private virtual interface to be provisioned.

Default: None

Parameters:
newPrivateVirtualInterfaceAllocation - Detailed information for the private virtual interface to be provisioned.

Default: None


withNewPrivateVirtualInterfaceAllocation

public AllocatePrivateVirtualInterfaceRequest withNewPrivateVirtualInterfaceAllocation(NewPrivateVirtualInterfaceAllocation newPrivateVirtualInterfaceAllocation)
Detailed information for the private virtual interface to be provisioned.

Default: None

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

Parameters:
newPrivateVirtualInterfaceAllocation - Detailed information for the private virtual interface to be provisioned.

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.