public class RejectVpcPeeringConnectionRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<RejectVpcPeeringConnectionRequest>
RejectVpcPeeringConnection operation
.
Rejects a VPC peering connection request. The VPC peering connection
must be in the pending-acceptance
state. Use the
DescribeVpcPeeringConnections request to view your outstanding VPC
peering connection requests. To delete an active VPC peering
connection, or to delete a VPC peering connection request that you
initiated, use DeleteVpcPeeringConnection.
NOOP
Constructor and Description |
---|
RejectVpcPeeringConnectionRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Request<RejectVpcPeeringConnectionRequest> |
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.
|
RejectVpcPeeringConnectionRequest |
withVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getVpcPeeringConnectionId()
public void setVpcPeeringConnectionId(String vpcPeeringConnectionId)
vpcPeeringConnectionId
- The ID of the VPC peering connection.public RejectVpcPeeringConnectionRequest 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<RejectVpcPeeringConnectionRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<RejectVpcPeeringConnectionRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.