com.amazonaws.services.ec2.model
Class DeleteInternetGatewayRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DeleteInternetGatewayRequest

public class DeleteInternetGatewayRequest
extends AmazonWebServiceRequest

Container for the parameters to the DeleteInternetGateway operation.

Deletes an Internet gateway from your AWS account. The gateway must not be attached to a VPC. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.

See Also:
AmazonEC2.deleteInternetGateway(DeleteInternetGatewayRequest)

Constructor Summary
DeleteInternetGatewayRequest()
           
 
Method Summary
 String getInternetGatewayId()
          The ID of the Internet gateway to be deleted.
 void setInternetGatewayId(String internetGatewayId)
          The ID of the Internet gateway to be deleted.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteInternetGatewayRequest withInternetGatewayId(String internetGatewayId)
          The ID of the Internet gateway to be deleted.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteInternetGatewayRequest

public DeleteInternetGatewayRequest()
Method Detail

getInternetGatewayId

public String getInternetGatewayId()
The ID of the Internet gateway to be deleted.

Returns:
The ID of the Internet gateway to be deleted.

setInternetGatewayId

public void setInternetGatewayId(String internetGatewayId)
The ID of the Internet gateway to be deleted.

Parameters:
internetGatewayId - The ID of the Internet gateway to be deleted.

withInternetGatewayId

public DeleteInternetGatewayRequest withInternetGatewayId(String internetGatewayId)
The ID of the Internet gateway to be deleted.

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

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

toString

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

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


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