public class DetachVpnGatewayRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<DetachVpnGatewayRequest>
Contains the parameters for DetachVpnGateway.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
vpcId
The ID of the VPC.
|
private java.lang.String |
vpnGatewayId
The ID of the virtual private gateway.
|
NOOP
Constructor and Description |
---|
DetachVpnGatewayRequest()
Default constructor for DetachVpnGatewayRequest object.
|
DetachVpnGatewayRequest(java.lang.String vpnGatewayId,
java.lang.String vpcId)
Constructs a new DetachVpnGatewayRequest object.
|
Modifier and Type | Method and Description |
---|---|
DetachVpnGatewayRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
Request<DetachVpnGatewayRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getVpcId()
The ID of the VPC.
|
java.lang.String |
getVpnGatewayId()
The ID of the virtual private gateway.
|
int |
hashCode() |
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC.
|
void |
setVpnGatewayId(java.lang.String vpnGatewayId)
The ID of the virtual private gateway.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetachVpnGatewayRequest |
withVpcId(java.lang.String vpcId)
The ID of the VPC.
|
DetachVpnGatewayRequest |
withVpnGatewayId(java.lang.String vpnGatewayId)
The ID of the virtual private gateway.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String vpnGatewayId
The ID of the virtual private gateway.
private java.lang.String vpcId
The ID of the VPC.
public DetachVpnGatewayRequest()
public DetachVpnGatewayRequest(java.lang.String vpnGatewayId, java.lang.String vpcId)
vpnGatewayId
- The ID of the virtual private gateway.vpcId
- The ID of the VPC.public void setVpnGatewayId(java.lang.String vpnGatewayId)
The ID of the virtual private gateway.
vpnGatewayId
- The ID of the virtual private gateway.public java.lang.String getVpnGatewayId()
The ID of the virtual private gateway.
public DetachVpnGatewayRequest withVpnGatewayId(java.lang.String vpnGatewayId)
The ID of the virtual private gateway.
vpnGatewayId
- The ID of the virtual private gateway.public void setVpcId(java.lang.String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public java.lang.String getVpcId()
The ID of the VPC.
public DetachVpnGatewayRequest withVpcId(java.lang.String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public Request<DetachVpnGatewayRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DetachVpnGatewayRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DetachVpnGatewayRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()