public class DeleteVpcPeeringConnectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DeleteVpcPeeringConnectionRequest>
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.
NOOP| Constructor and Description |
|---|
DeleteVpcPeeringConnectionRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteVpcPeeringConnectionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Request<DeleteVpcPeeringConnectionRequest> |
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.
|
DeleteVpcPeeringConnectionRequest |
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 DeleteVpcPeeringConnectionRequest 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<DeleteVpcPeeringConnectionRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DeleteVpcPeeringConnectionRequest>public String toString()
toString in class ObjectObject.toString()public DeleteVpcPeeringConnectionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.