com.amazonaws.services.ec2.model
Class AcceptVpcPeeringConnectionRequest

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

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

Container for the parameters to the AcceptVpcPeeringConnection operation.

Accept a VPC peering connection request. To accept a request, the VPC peering connection must be in the pending-acceptance state, and you must be the owner of the peer VPC. Use the DescribeVpcPeeringConnections request to view your outstanding VPC peering connection requests.

See Also:
AmazonEC2.acceptVpcPeeringConnection(AcceptVpcPeeringConnectionRequest), Serialized Form

Constructor Summary
AcceptVpcPeeringConnectionRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Request<AcceptVpcPeeringConnectionRequest> 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.
 AcceptVpcPeeringConnectionRequest 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

AcceptVpcPeeringConnectionRequest

public AcceptVpcPeeringConnectionRequest()
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 AcceptVpcPeeringConnectionRequest 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<AcceptVpcPeeringConnectionRequest> 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<AcceptVpcPeeringConnectionRequest>

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.