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:
  • Constructor Details

    • CreateInternetGatewayResult

      public CreateInternetGatewayResult()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object