com.amazonaws.services.ec2.model
Class DeleteInternetGatewayRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DeleteInternetGatewayRequest
All Implemented Interfaces:
DryRunSupportedRequest<DeleteInternetGatewayRequest>, java.io.Serializable

public class DeleteInternetGatewayRequest
extends AmazonWebServiceRequest
implements java.io.Serializable, DryRunSupportedRequest<DeleteInternetGatewayRequest>

Container for the parameters to the DeleteInternetGateway operation.

Deletes the specified Internet gateway. You must detach the Internet gateway from the VPC before you can delete it.

See Also:
AmazonEC2.deleteInternetGateway(DeleteInternetGatewayRequest), Serialized Form

Constructor Summary
DeleteInternetGatewayRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Request<DeleteInternetGatewayRequest> getDryRunRequest()
          This method is intended for internal use only.
 java.lang.String getInternetGatewayId()
          The ID of the Internet gateway.
 int hashCode()
           
 void setInternetGatewayId(java.lang.String internetGatewayId)
          The ID of the Internet gateway.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteInternetGatewayRequest withInternetGatewayId(java.lang.String internetGatewayId)
          The ID of the Internet gateway.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteInternetGatewayRequest

public DeleteInternetGatewayRequest()
Method Detail

getInternetGatewayId

public java.lang.String getInternetGatewayId()
The ID of the Internet gateway.

Returns:
The ID of the Internet gateway.

setInternetGatewayId

public void setInternetGatewayId(java.lang.String internetGatewayId)
The ID of the Internet gateway.

Parameters:
internetGatewayId - The ID of the Internet gateway.

withInternetGatewayId

public DeleteInternetGatewayRequest withInternetGatewayId(java.lang.String internetGatewayId)
The ID of the Internet gateway.

Returns a reference to this object so that method calls can be chained together.

Parameters:
internetGatewayId - The ID of the Internet gateway.
Returns:
A reference to this updated object so that method calls can be chained together.

getDryRunRequest

public Request<DeleteInternetGatewayRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.

Specified by:
getDryRunRequest in interface DryRunSupportedRequest<DeleteInternetGatewayRequest>

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.