|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.AcceptVpcPeeringConnectionRequest
public class 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.
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 |
|---|
public AcceptVpcPeeringConnectionRequest()
| Method Detail |
|---|
public java.lang.String getVpcPeeringConnectionId()
public void setVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
vpcPeeringConnectionId - The ID of the VPC peering connection.public AcceptVpcPeeringConnectionRequest withVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
Returns a reference to this object so that method calls can be chained together.
vpcPeeringConnectionId - The ID of the VPC peering connection.
public Request<AcceptVpcPeeringConnectionRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<AcceptVpcPeeringConnectionRequest>public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||