public DeleteFleetSuccessItem withPreviousFleetState(FleetStateCode previousFleetState) {
        this.previousFleetState = previousFleetState.toString();
        return this;
    }
<p>
The previous state of the EC2 Fleet.
</p>

@param previousFleetState
       The previous state of the EC2 Fleet.
@return Returns a reference to this object so that method calls can be chained together.
@see FleetStateCode
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DeleteFleetSuccessItem.java