@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetachVpnGatewayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DetachVpnGatewayRequest>
Contains the parameters for DetachVpnGateway.
NOOP| Constructor and Description |
|---|
DetachVpnGatewayRequest()
Default constructor for DetachVpnGatewayRequest object.
|
DetachVpnGatewayRequest(String vpnGatewayId,
String vpcId)
Constructs a new DetachVpnGatewayRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
DetachVpnGatewayRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DetachVpnGatewayRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getVpcId()
The ID of the VPC.
|
String |
getVpnGatewayId()
The ID of the virtual private gateway.
|
int |
hashCode() |
void |
setVpcId(String vpcId)
The ID of the VPC.
|
void |
setVpnGatewayId(String vpnGatewayId)
The ID of the virtual private gateway.
|
String |
toString()
Returns a string representation of this object.
|
DetachVpnGatewayRequest |
withVpcId(String vpcId)
The ID of the VPC.
|
DetachVpnGatewayRequest |
withVpnGatewayId(String vpnGatewayId)
The ID of the virtual private gateway.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic DetachVpnGatewayRequest()
public DetachVpnGatewayRequest(String vpnGatewayId, String vpcId)
vpnGatewayId - The ID of the virtual private gateway.vpcId - The ID of the VPC.public void setVpcId(String vpcId)
The ID of the VPC.
vpcId - The ID of the VPC.public String getVpcId()
The ID of the VPC.
public DetachVpnGatewayRequest withVpcId(String vpcId)
The ID of the VPC.
vpcId - The ID of the VPC.public void setVpnGatewayId(String vpnGatewayId)
The ID of the virtual private gateway.
vpnGatewayId - The ID of the virtual private gateway.public String getVpnGatewayId()
The ID of the virtual private gateway.
public DetachVpnGatewayRequest withVpnGatewayId(String vpnGatewayId)
The ID of the virtual private gateway.
vpnGatewayId - The ID of the virtual private gateway.public Request<DetachVpnGatewayRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DetachVpnGatewayRequest>public String toString()
toString in class ObjectObject.toString()public DetachVpnGatewayRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()