Package com.amazonaws.services.ec2.model
Class CreateInternetGatewayResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.CreateInternetGatewayResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CreateInternetGatewayResult extends Object implements Serializable, Cloneable
Contains the output of CreateInternetGateway.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateInternetGatewayResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateInternetGatewayResultclone()booleanequals(Object obj)InternetGatewaygetInternetGateway()Information about the Internet gateway.inthashCode()voidsetInternetGateway(InternetGateway internetGateway)Information about the Internet gateway.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateInternetGatewayResultwithInternetGateway(InternetGateway internetGateway)Information about the Internet gateway.
-
-
-
Method Detail
-
setInternetGateway
public void setInternetGateway(InternetGateway internetGateway)
Information about the Internet gateway.
- Parameters:
internetGateway- Information about the Internet gateway.
-
getInternetGateway
public InternetGateway getInternetGateway()
Information about the Internet gateway.
- Returns:
- Information about the Internet gateway.
-
withInternetGateway
public CreateInternetGatewayResult withInternetGateway(InternetGateway internetGateway)
Information about the Internet gateway.
- Parameters:
internetGateway- Information about the Internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateInternetGatewayResult clone()
-
-