public class DeleteVpcPeeringConnectionRequest extends AmazonWebServiceRequest implements java.io.Serializable, 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.
| Constructor and Description |
|---|
DeleteVpcPeeringConnectionRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Request<DeleteVpcPeeringConnectionRequest> |
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.
|
DeleteVpcPeeringConnectionRequest |
withVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
The ID of the VPC peering connection.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getVpcPeeringConnectionId()
public void setVpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
vpcPeeringConnectionId - The ID of the VPC peering connection.public DeleteVpcPeeringConnectionRequest 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<DeleteVpcPeeringConnectionRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DeleteVpcPeeringConnectionRequest>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.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.