|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DeleteCustomerGatewayRequest
public class DeleteCustomerGatewayRequest
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.
AmazonEC2.deleteCustomerGateway(DeleteCustomerGatewayRequest)
,
Serialized FormConstructor Summary | |
---|---|
DeleteCustomerGatewayRequest()
Default constructor for a new DeleteCustomerGatewayRequest object. |
|
DeleteCustomerGatewayRequest(String customerGatewayId)
Constructs a new DeleteCustomerGatewayRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCustomerGatewayId()
The ID of the customer gateway to delete. |
int |
hashCode()
|
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, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteCustomerGatewayRequest()
public DeleteCustomerGatewayRequest(String customerGatewayId)
customerGatewayId
- The ID of the customer gateway to delete.Method Detail |
---|
public String getCustomerGatewayId()
public void setCustomerGatewayId(String customerGatewayId)
customerGatewayId
- The ID of the customer gateway to delete.public DeleteCustomerGatewayRequest withCustomerGatewayId(String customerGatewayId)
Returns a reference to this object so that method calls can be chained together.
customerGatewayId
- The ID of the customer gateway to delete.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |