|
|||||||
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.DetachInternetGatewayRequest
public class DetachInternetGatewayRequest
Container for the parameters to the DetachInternetGateway operation
.
Detaches an Internet gateway from a VPC, disabling connectivity between the Internet and the VPC. The VPC must not contain any running instances with elastic IP addresses. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.
For more information about Amazon Virtual Private Cloud and Internet gateways, go to the Amazon Virtual Private Cloud User Guide.
AmazonEC2.detachInternetGateway(DetachInternetGatewayRequest)
Constructor Summary | |
---|---|
DetachInternetGatewayRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getInternetGatewayId()
The ID of the Internet gateway to detach. |
String |
getVpcId()
The ID of the VPC. |
int |
hashCode()
|
void |
setInternetGatewayId(String internetGatewayId)
The ID of the Internet gateway to detach. |
void |
setVpcId(String vpcId)
The ID of the VPC. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DetachInternetGatewayRequest |
withInternetGatewayId(String internetGatewayId)
The ID of the Internet gateway to detach. |
DetachInternetGatewayRequest |
withVpcId(String vpcId)
The ID of the VPC. |
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 DetachInternetGatewayRequest()
Method Detail |
---|
public String getInternetGatewayId()
public void setInternetGatewayId(String internetGatewayId)
internetGatewayId
- The ID of the Internet gateway to detach.public DetachInternetGatewayRequest withInternetGatewayId(String internetGatewayId)
Returns a reference to this object so that method calls can be chained together.
internetGatewayId
- The ID of the Internet gateway to detach.
public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The ID of the VPC.public DetachInternetGatewayRequest withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The ID of the VPC.
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 |