library/src/main/java/com/kdgregory/aws/utils/cloudwatch/LogStreamIterable.java
/**
     *  Sets the direction of iteration.
     */
Sets the direction of iteration.
Sets the direction of iteration .
public LogStreamIterable withIterationDirection(IterationDirection direction)
    {
        switch (direction)
        {
            case FORWARD:
                this.isForward = true;
                break;
            case BACKWARD:
                this.isForward = false;
                break;
            default:
                throw new IllegalArgumentException("invalid direction: " + direction);
        }
        return this;
    }
public LogStreamIterable withIterationDirection ( IterationDirection direction ) { switch ( direction ) { case FORWARD : this . isForward = true ; break ; case BACKWARD : this . isForward = false ; break ; default : throw new IllegalArgumentException ( "invalid direction: " + direction ) ; } return this ; }
Sets the direction of iteration.
Sets the direction of iteration .