|
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.AttachVpnGatewayRequest
public class AttachVpnGatewayRequest
Container for the parameters to the AttachVpnGateway operation
.
Attaches a VPN gateway to a VPC. This is the last step required to get your VPC fully connected to your data center before launching instances in it. For more information, go to Process for Using Amazon VPC in the Amazon Virtual Private Cloud Developer Guide.
AmazonEC2.attachVpnGateway(AttachVpnGatewayRequest)
,
Serialized FormConstructor Summary | |
---|---|
AttachVpnGatewayRequest()
Default constructor for a new AttachVpnGatewayRequest object. |
|
AttachVpnGatewayRequest(String vpnGatewayId,
String vpcId)
Constructs a new AttachVpnGatewayRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getVpcId()
The ID of the VPC to attach to the VPN gateway. |
String |
getVpnGatewayId()
The ID of the VPN gateway to attach to the VPC. |
int |
hashCode()
|
void |
setVpcId(String vpcId)
The ID of the VPC to attach to the VPN gateway. |
void |
setVpnGatewayId(String vpnGatewayId)
The ID of the VPN gateway to attach to the VPC. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AttachVpnGatewayRequest |
withVpcId(String vpcId)
The ID of the VPC to attach to the VPN gateway. |
AttachVpnGatewayRequest |
withVpnGatewayId(String vpnGatewayId)
The ID of the VPN gateway to attach to 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 AttachVpnGatewayRequest()
public AttachVpnGatewayRequest(String vpnGatewayId, String vpcId)
vpnGatewayId
- The ID of the VPN gateway to attach to the VPC.vpcId
- The ID of the VPC to attach to the VPN gateway.Method Detail |
---|
public String getVpnGatewayId()
public void setVpnGatewayId(String vpnGatewayId)
vpnGatewayId
- The ID of the VPN gateway to attach to the VPC.public AttachVpnGatewayRequest withVpnGatewayId(String vpnGatewayId)
Returns a reference to this object so that method calls can be chained together.
vpnGatewayId
- The ID of the VPN gateway to attach to the VPC.
public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The ID of the VPC to attach to the VPN gateway.public AttachVpnGatewayRequest withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The ID of the VPC to attach to the VPN gateway.
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 |