com.amazonaws.services.ec2.model
Class CreateInternetGatewayRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CreateInternetGatewayRequest
- All Implemented Interfaces:
- DryRunSupportedRequest<CreateInternetGatewayRequest>, Serializable
public class CreateInternetGatewayRequest
- extends AmazonWebServiceRequest
- implements Serializable, DryRunSupportedRequest<CreateInternetGatewayRequest>
Container for the parameters to the CreateInternetGateway operation
.
Creates a new Internet gateway in your AWS account. After creating the Internet gateway, you then attach it to a VPC using
AttachInternetGateway
. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.
- See Also:
AmazonEC2.createInternetGateway(CreateInternetGatewayRequest)
,
Serialized Form
CreateInternetGatewayRequest
public CreateInternetGatewayRequest()
getDryRunRequest
public Request<CreateInternetGatewayRequest> getDryRunRequest()
- This method is intended for internal use only.
Returns the marshaled request configured with additional parameters to
enable operation dry-run.
- Specified by:
getDryRunRequest
in interface DryRunSupportedRequest<CreateInternetGatewayRequest>
toString
public String toString()
- Returns a string representation of this object; useful for testing and
debugging.
- Overrides:
toString
in class Object
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.