Class CreateRouteResult

java.lang.Object
com.amazonaws.services.ec2.model.CreateRouteResult
All Implemented Interfaces:
Serializable, Cloneable

public class CreateRouteResult extends Object implements Serializable, Cloneable

Contains the output of CreateRoute.

See Also:
  • Constructor Details

    • CreateRouteResult

      public CreateRouteResult()
  • Method Details

    • setReturn

      public void setReturn(Boolean returnValue)

      Returns true if the request succeeds; otherwise, it returns an error.

      Parameters:
      returnValue - Returns true if the request succeeds; otherwise, it returns an error.
    • getReturn

      public Boolean getReturn()

      Returns true if the request succeeds; otherwise, it returns an error.

      Returns:
      Returns true if the request succeeds; otherwise, it returns an error.
    • withReturn

      public CreateRouteResult withReturn(Boolean returnValue)

      Returns true if the request succeeds; otherwise, it returns an error.

      Parameters:
      returnValue - Returns true if the request succeeds; otherwise, it returns an error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isReturn

      public Boolean isReturn()

      Returns true if the request succeeds; otherwise, it returns an error.

      Returns:
      Returns true if the request succeeds; otherwise, it returns an error.
    • 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

      public CreateRouteResult clone()
      Overrides:
      clone in class Object