|
|||||||
| 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 virtual private gateway to a VPC. For more information, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide .
AmazonEC2.attachVpnGateway(AttachVpnGatewayRequest),
Serialized Form| Constructor Summary | |
|---|---|
AttachVpnGatewayRequest()
Default constructor for a new AttachVpnGatewayRequest object. |
|
AttachVpnGatewayRequest(java.lang.String vpnGatewayId,
java.lang.String vpcId)
Constructs a new AttachVpnGatewayRequest object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
Request<AttachVpnGatewayRequest> |
getDryRunRequest()
This method is intended for internal use only. |
java.lang.String |
getVpcId()
The ID of the VPC. |
java.lang.String |
getVpnGatewayId()
The ID of the virtual private gateway. |
int |
hashCode()
|
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC. |
void |
setVpnGatewayId(java.lang.String vpnGatewayId)
The ID of the virtual private gateway. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AttachVpnGatewayRequest |
withVpcId(java.lang.String vpcId)
The ID of the VPC. |
AttachVpnGatewayRequest |
withVpnGatewayId(java.lang.String vpnGatewayId)
The ID of the virtual private gateway. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AttachVpnGatewayRequest()
public AttachVpnGatewayRequest(java.lang.String vpnGatewayId,
java.lang.String vpcId)
vpnGatewayId - The ID of the virtual private gateway.vpcId - The ID of the VPC.| Method Detail |
|---|
public java.lang.String getVpnGatewayId()
public void setVpnGatewayId(java.lang.String vpnGatewayId)
vpnGatewayId - The ID of the virtual private gateway.public AttachVpnGatewayRequest withVpnGatewayId(java.lang.String vpnGatewayId)
Returns a reference to this object so that method calls can be chained together.
vpnGatewayId - The ID of the virtual private gateway.
public java.lang.String getVpcId()
public void setVpcId(java.lang.String vpcId)
vpcId - The ID of the VPC.public AttachVpnGatewayRequest withVpcId(java.lang.String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId - The ID of the VPC.
public Request<AttachVpnGatewayRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<AttachVpnGatewayRequest>public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||