|
||||||||||
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 FormConstructor Summary | |
---|---|
AcceptVpcPeeringConnectionRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Request<AcceptVpcPeeringConnectionRequest> |
getDryRunRequest()
This method is intended for internal use only. |
String |
getVpcPeeringConnectionId()
The ID of the VPC peering connection. |
int |
hashCode()
|
void |
setVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AcceptVpcPeeringConnectionRequest |
withVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection. |
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 |
---|
public AcceptVpcPeeringConnectionRequest()
Method Detail |
---|
public String getVpcPeeringConnectionId()
public void setVpcPeeringConnectionId(String vpcPeeringConnectionId)
vpcPeeringConnectionId
- The ID of the VPC peering connection.public AcceptVpcPeeringConnectionRequest withVpcPeeringConnectionId(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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |