com.amazonaws.services.ec2.model
Class CreateInternetGatewayResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.CreateInternetGatewayResult

public class CreateInternetGatewayResult
extends Object

Create Internet Gateway Result


Constructor Summary
CreateInternetGatewayResult()
           
 
Method Summary
 InternetGateway getInternetGateway()
          Returns the value of the InternetGateway property for this object.
 void setInternetGateway(InternetGateway internetGateway)
          Sets the value of the InternetGateway property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateInternetGatewayResult withInternetGateway(InternetGateway internetGateway)
          Sets the value of the InternetGateway property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateInternetGatewayResult

public CreateInternetGatewayResult()
Method Detail

getInternetGateway

public InternetGateway getInternetGateway()
Returns the value of the InternetGateway property for this object.

Returns:
The value of the InternetGateway property for this object.

setInternetGateway

public void setInternetGateway(InternetGateway internetGateway)
Sets the value of the InternetGateway property for this object.

Parameters:
internetGateway - The new value for the InternetGateway property for this object.

withInternetGateway

public CreateInternetGatewayResult withInternetGateway(InternetGateway internetGateway)
Sets the value of the InternetGateway property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
internetGateway - The new value for the InternetGateway property for this object.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.