com.amazonaws.services.directconnect.model
Class AllocatePublicVirtualInterfaceRequest

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

public class AllocatePublicVirtualInterfaceRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the AllocatePublicVirtualInterface operation.

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

The owner of a connection calls this function to provision a public 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 ConfirmPublicVirtualInterface. 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.allocatePublicVirtualInterface(AllocatePublicVirtualInterfaceRequest), Serialized Form

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

AllocatePublicVirtualInterfaceRequest

public AllocatePublicVirtualInterfaceRequest()
Method Detail

getConnectionId

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

Default: None

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

Default: None


setConnectionId

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

Default: None

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

Default: None


withConnectionId

public AllocatePublicVirtualInterfaceRequest withConnectionId(String connectionId)
The connection ID on which the public 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 public 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 public virtual interface.

Default: None

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

Default: None


setOwnerAccount

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

Default: None

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

Default: None


withOwnerAccount

public AllocatePublicVirtualInterfaceRequest withOwnerAccount(String ownerAccount)
The AWS account that will own the new public 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 public virtual interface.

Default: None

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

getNewPublicVirtualInterfaceAllocation

public NewPublicVirtualInterfaceAllocation getNewPublicVirtualInterfaceAllocation()
Detailed information for the public virtual interface to be provisioned.

Default: None

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

Default: None


setNewPublicVirtualInterfaceAllocation

public void setNewPublicVirtualInterfaceAllocation(NewPublicVirtualInterfaceAllocation newPublicVirtualInterfaceAllocation)
Detailed information for the public virtual interface to be provisioned.

Default: None

Parameters:
newPublicVirtualInterfaceAllocation - Detailed information for the public virtual interface to be provisioned.

Default: None


withNewPublicVirtualInterfaceAllocation

public AllocatePublicVirtualInterfaceRequest withNewPublicVirtualInterfaceAllocation(NewPublicVirtualInterfaceAllocation newPublicVirtualInterfaceAllocation)
Detailed information for the public virtual interface to be provisioned.

Default: None

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

Parameters:
newPublicVirtualInterfaceAllocation - Detailed information for the public 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.