public class AcceptVpcPeeringConnectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<AcceptVpcPeeringConnectionRequest>
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.
NOOP| Constructor and Description |
|---|
AcceptVpcPeeringConnectionRequest() |
| Modifier and Type | Method and Description |
|---|---|
AcceptVpcPeeringConnectionRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic 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 ObjectObject.toString()public AcceptVpcPeeringConnectionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.