Overview | Package | Class | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.amazonaws.services.ec2.model
Class DeleteCustomerGatewayRequest

    java.lang.Object
      com.amazonaws.AmazonWebServiceRequest
          com.amazonaws.services.ec2.model.DeleteCustomerGatewayRequest

    public class DeleteCustomerGatewayRequest

extends AmazonWebServiceRequest

Container for the parameters to the `DeleteCustomerGateway operation`.

Deletes a customer gateway. You must delete the VPN connection before deleting the customer gateway.

You can have a single active customer gateway per AWS account (active means that you've created a VPN connection with that customer gateway). AWS might delete any customer gateway you leave inactive for an extended period of time.

See Also:
  `AmazonEC2.deleteCustomerGateway(DeleteCustomerGatewayRequest)`

Constructor Summary
`DeleteCustomerGatewayRequest()`

Method Summary
`String` | `getCustomerGatewayId()` The ID of the customer gateway to delete.
`void` | `setCustomerGatewayId(String customerGatewayId)` The ID of the customer gateway to delete.
`String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
`DeleteCustomerGatewayRequest` | `withCustomerGatewayId(String customerGatewayId)` The ID of the customer gateway to delete.

Methods inherited from class com.amazonaws.AmazonWebServiceRequest
`copyPrivateRequestParameters`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### DeleteCustomerGatewayRequest

    public DeleteCustomerGatewayRequest()

Method Detail

### getCustomerGatewayId

    public String getCustomerGatewayId()

  The ID of the customer gateway to delete.

  Returns:
    The ID of the customer gateway to delete.

### setCustomerGatewayId

    public void setCustomerGatewayId(String customerGatewayId)

  The ID of the customer gateway to delete.

  Parameters:
    `customerGatewayId` - The ID of the customer gateway to delete.

### withCustomerGatewayId

    public DeleteCustomerGatewayRequest withCustomerGatewayId(String customerGatewayId)

  The ID of the customer gateway to delete.

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

  Parameters:
    `customerGatewayId` - The ID of the customer gateway to delete.
  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()`

Overview | Package | Class | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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