|
|||||||
| 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.AttachInternetGatewayRequest
public class AttachInternetGatewayRequest
Container for the parameters to the AttachInternetGateway operation.
Attaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC. For more information about your VPC and Internet gateway, go to the Amazon Virtual Private Cloud User Guide.
AmazonEC2.attachInternetGateway(AttachInternetGatewayRequest)| Constructor Summary | |
|---|---|
AttachInternetGatewayRequest()
|
|
| Method Summary | |
|---|---|
String |
getInternetGatewayId()
The ID of the Internet gateway to attach. |
String |
getVpcId()
The ID of the VPC. |
void |
setInternetGatewayId(String internetGatewayId)
The ID of the Internet gateway to attach. |
void |
setVpcId(String vpcId)
The ID of the VPC. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AttachInternetGatewayRequest |
withInternetGatewayId(String internetGatewayId)
The ID of the Internet gateway to attach. |
AttachInternetGatewayRequest |
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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AttachInternetGatewayRequest()
| Method Detail |
|---|
public String getInternetGatewayId()
public void setInternetGatewayId(String internetGatewayId)
internetGatewayId - The ID of the Internet gateway to attach.public AttachInternetGatewayRequest 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 attach.
public String getVpcId()
public void setVpcId(String vpcId)
vpcId - The ID of the VPC.public AttachInternetGatewayRequest 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 ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||