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 CreateInternetGatewayResult
clone()
boolean
equals(Object obj)
InternetGateway
getInternetGateway()
Information about the Internet gateway.int
hashCode()
void
setInternetGateway(InternetGateway internetGateway)
Information about the Internet gateway.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateInternetGatewayResult
withInternetGateway(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateInternetGatewayResult clone()
-
-