com.amazonaws.services.ec2.model
Class DeleteVpcPeeringConnectionRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DeleteVpcPeeringConnectionRequest
All Implemented Interfaces:
DryRunSupportedRequest<DeleteVpcPeeringConnectionRequest>, java.io.Serializable

public class DeleteVpcPeeringConnectionRequest
extends AmazonWebServiceRequest
implements java.io.Serializable, DryRunSupportedRequest<DeleteVpcPeeringConnectionRequest>

Container for the parameters to the DeleteVpcPeeringConnection operation.

Deletes a VPC peering connection. Either the owner of the requester VPC or the owner of the peer VPC can delete the VPC peering connection if it's in the active state. The owner of the requester VPC can delete a VPC peering connection in the pending-acceptance state.

See Also:
AmazonEC2.deleteVpcPeeringConnection(DeleteVpcPeeringConnectionRequest), Serialized Form

Constructor Summary
DeleteVpcPeeringConnectionRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Request<DeleteVpcPeeringConnectionRequest> getDryRunRequest()
          This method is intended for internal use only.
 java.lang.String getVpcPeeringConnectionId()
          The ID of the VPC peering connection.
 int hashCode()
           
 void setVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
          The ID of the VPC peering connection.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteVpcPeeringConnectionRequest withVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
          The ID of the VPC peering connection.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteVpcPeeringConnectionRequest

public DeleteVpcPeeringConnectionRequest()
Method Detail

getVpcPeeringConnectionId

public java.lang.String getVpcPeeringConnectionId()
The ID of the VPC peering connection.

Returns:
The ID of the VPC peering connection.

setVpcPeeringConnectionId

public void setVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
The ID of the VPC peering connection.

Parameters:
vpcPeeringConnectionId - The ID of the VPC peering connection.

withVpcPeeringConnectionId

public DeleteVpcPeeringConnectionRequest withVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
The ID of the VPC peering connection.

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

Parameters:
vpcPeeringConnectionId - The ID of the VPC peering connection.
Returns:
A reference to this updated object so that method calls can be chained together.

getDryRunRequest

public Request<DeleteVpcPeeringConnectionRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.

Specified by:
getDryRunRequest in interface DryRunSupportedRequest<DeleteVpcPeeringConnectionRequest>

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.